Vim Tips Wiki
Register
Advertisement

Proposed tip Please edit this page to improve it, or add your comments below (do not use the discussion page).

Please use new tips to discuss whether this page should be a permanent tip, or whether it should be merged to an existing tip.
created July 16, 2013 · complexity basic · version 7.0

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:

  • Store your vi configuration settings in ~/.virc.
  • 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

Comments[]

I went for first option, that helped, thanks! Regards, Ida

Advertisement