- Modify the. virc file (if it is not created)
VI. VIRC
- Add the following content
Set NOCP
Set Backspace=start,indent,eol
- Save exit
: Wq
If it is vim, modify the. vimrc file.
Cygwin I do not want to introduce more, I would like to say with Cygwin to write *nix under the program.
Since the Cygwin default installation (which is the recommended installation), there is no text editor installed,
My main purpose today is to put the text editor vim on it first.
Since the Cygwin has been installed, so do not have to uninstall (in fact, under Windows Uninstall Cygwin more trouble, not studied),
Take your installer out and reinstall it, I'll just say one key step, and the rest will be the default as you originally installed it.
All the way "next" come on, stop here:
Click on the "View" button above, you can view the installation information of all Cygwin packages, keep is installed, skip is the installation
Find the one we want to install with VIM:
See no: First it was skipped.
We click on skip above to make it this way (of course other versions are also available):
Next, it will be installed on the server to download the package, automatic installation, installation completed, all OK.
Look at the results:
Transferred from: http://blog.chinaunix.net/xmlrpc.php?r=blog/article&uid=26669282&id=4068363
Http://blog.chinaunix.net/uid-15070602-id-2779056.html
Yestreenstars
Motoste
Cygwin vi editor directional keys and backspace key solutions