Vim Tips Wiki

Fix .vimrc

Revision as of 15:43, July 16, 2013 by (Talk)

1,614pages on
this wiki

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

Around Wikia's network

Random Wiki