Wikia

Vim Tips Wiki

Fix .vimrc

Talk0
1,613pages on
this wiki
Revision as of 15:43, July 16, 2013 by 75.20.160.31 (Talk)

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