官术网_书友最值得收藏!

Using Cygwin

Open Cygwin, the program will be called Cygwin64 Terminal or Cygwin Terminal, depending on the version of your system, as can be seen in the following screenshot:

Open it! You will see the following prompt, familiar to Linux users:

Cygwin supports all of the Unix-style commands we will be using in this book. This book will also say if any commands need to be changed to work with Cygwin. But for now, let's open Vim and proceed onto the next chapter! Type vim and hit Enter to start Vim, as demonstrated in the following screenshot:

Cygwin is a way to get a Linux-like shell experience on Windows, meaning you'll have to follow Linux specific instructions throughout this book if you decide to use Cygwin.

You'll also want to be careful with Windows-style line endings vs Linux-style line endings, as Windows and Linux treat line endings differently. If you run into an odd issue with Vim complaining about ^M characters its unable to recognize, run the dos2unix utility on the offending file to resolve the issue.

主站蜘蛛池模板: 潼关县| 迁安市| 靖州| 库尔勒市| 凤凰县| 花莲市| 桐庐县| 固阳县| 章丘市| 金沙县| 钟祥市| 台南市| 闸北区| 巢湖市| 巩义市| 呼伦贝尔市| 交口县| 敖汉旗| 和龙市| 安龙县| 原平市| 洪泽县| 全州县| 许昌市| 华安县| 兰考县| 平遥县| 赤峰市| 翁牛特旗| 高青县| 山东| 化隆| 尼勒克县| 祁连县| 芦溪县| 瑞丽市| 吉水县| 平邑县| 咸丰县| 桂阳县| 岳普湖县|