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

Visual Vim with gVim

In this section. you can read more about the graphical version of Vim in Vanilla Vim vs GVim.
As it always is with Windows, the process is slightly more visual. Navigate to www.vim.org/download.php#pc in your browser and download an executable installer. At the moment of writing this book, November 2018, the binary is called gvim81.exe, where 81 stands for version 8.1.

Open the executable and follow the prompts on the screen, as demonstrated by the following screenshot:

Let's go ahead and hit Yes, then I Agree until we arrive at the Installation Options screen. We're happy with most of the default options gVim has to offer, except that you might want to enable Create .bat files for command line use. This option will make the vim command work in Windows Command Prompt. Some examples in this book rely on having a Command Prompt, so enabling this option would help you follow along.

Here's a screenshot of the Installation Options screen with the proper boxes checked off:

Hit Next >. You'll want to continue with the following settings:

  • Select the type of install: Typical, (after Create .bat files for command line use is enabled, type of install value changes to Custom automatically).
  • Do not remap keys for Windows behavior
  • Right button has a popup menu, left button starts visual mode
  • Destination Folder: C:\Program Files (x86)\Vim (or a recommended default)

Once you're done, hit Install and then Close, as demonstrated in the following screenshot:

Say No to the request to see the README file (who needs a manual, huh?) as seen in the following command:

You will now have a few icons pop on your desktop, the most interesting one being gVim 8.1 as shown in the following screenshot:

Start it, and you're ready to proceed! Happy Vimming!

主站蜘蛛池模板: 崇信县| 明光市| 遵义县| 太康县| 科技| 博爱县| 博乐市| 潜山县| 建水县| 讷河市| 瑞金市| 开远市| 丽江市| 塘沽区| 安达市| 兴化市| 平潭县| 南昌市| 兴化市| 太仆寺旗| 涟水县| 上饶县| 同江市| 高青县| 吉林市| 厦门市| 白山市| 富阳市| 英超| 丰原市| 汉寿县| 建阳市| 忻州市| 宁南县| 德惠市| 清水县| 高要市| 新密市| 克什克腾旗| 阳高县| 勐海县|