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

  • Mastering Vim
  • Ruslan Osipov
  • 178字
  • 2021-06-10 18:51:23

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.

主站蜘蛛池模板: 石台县| 通海县| 侯马市| 工布江达县| 永靖县| 绥滨县| 荆州市| 大理市| 宝应县| 兴宁市| 巍山| 南昌县| 克拉玛依市| 黎川县| 锡林浩特市| 盈江县| 深圳市| 喀什市| 东城区| 汝南县| 凤阳县| 木兰县| 南开区| 开鲁县| 驻马店市| 云安县| 邹城市| 莒南县| 苏尼特右旗| 武川县| 浮山县| 清流县| 平陆县| 岗巴县| 长兴县| 高雄市| 遂川县| 施甸县| 无极县| 武平县| 贞丰县|