Vi
From My notepad
This page contains information for vi/vim/gvim.
You can download Vim from here.
Contents |
Links
Vim Tutorial - Hosted at LinuxConfig.org
gvim color and fonts settings in Windows
The _vimrc file is located in "C:\Program Files\Vim". Add the following lines to set default color scheme and font:
set guifont=Courier_New:h10:cANSI colors darkblue
Search and Replace, Insert new line
Source: Vim: Search and Replace, Insert new line
:%s/^text on line$/text on line\rtext on next line\rtext on line after that/g The \r is the new line character.
NOTE: \r is used as the new line character when vim is using DOS file format, to find out which file format you are using type :set ff?
Disable xterm-style mouse usage
1. issue the command :set mouse-=a 2. insert the directive set mouse-=a into your ~/.vimrc file