(Created page with "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" <...") |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{TipProposed |
||
⚫ | |||
+ | |id=0 |
||
+ | |previous=0 |
||
+ | |next=0 |
||
+ | |created=July 16, 2013 |
||
+ | |complexity=basic |
||
+ | |author= |
||
+ | |version=7.0 |
||
+ | |subpage=/2013 |
||
+ | |category1=Cygwin |
||
+ | |category2= |
||
+ | }} |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
− | <ol> |
||
⚫ | |||
⚫ | |||
− | </ol> |
||
− | |||
− | |||
⚫ | |||
<code> |
<code> |
||
echo "alias vi=vim" >> ~/.bashrc |
echo "alias vi=vim" >> ~/.bashrc |
||
</code> |
</code> |
||
+ | |||
+ | ==Comments== |
||
+ | I went for first option, that helped, thanks! Regards, Ida |
Latest revision as of 07:45, 17 April 2014
Proposed tip Please edit this page to improve it, or add your comments below (do not use the discussion page).
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