Vim Tips Wiki
(Adding categories)
No edit summary
Line 1: Line 1:
By default, Cygwin does ''not'' include the improved version of vi, and this results in ~/.vimrc being ignored. To create a custom configuration file, you have two options"
+
By default, Cygwin does ''not'' include the improved version of vi, and this results in ~/.vimrc being ignored. To create a custom configuration file, you have two options:
   
 
<ol>
 
<ol>

Revision as of 15:43, 16 July 2013

By default, Cygwin does not include the improved version of vi, and this results in ~/.vimrc being ignored. To create a custom configuration file, you have two options:

  1. Store your vi configuration settings in ~/.virc
  2. Install vim via setup.exe (see note below)


For option 2, you will have to launch vi with the vim command or add an alias to ~/.profile, ~/.bashrc, ~/.zshrc, etc. like so: echo "alias vi=vim" >> ~/.bashrc