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

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.

主站蜘蛛池模板: 贵德县| 禹城市| 云霄县| 科技| 吴桥县| 宁安市| 长乐市| 永城市| 呈贡县| 张掖市| 淮阳县| 浦江县| 章丘市| 锦州市| 山阴县| 隆子县| 微山县| 高尔夫| 东乡县| 昌宁县| 黔西| 麟游县| 个旧市| 洱源县| 环江| 巴林右旗| 东明县| 会同县| 大田县| 长春市| 太仆寺旗| 绥滨县| 天气| 安达市| 海丰县| 遂昌县| 新干县| 兴隆县| 泸州市| 公安县| 延安市|