This is a nice vi / vim color schema Edit ~/.vimrc set cindent set shiftwidth=3 set tabstop=3 set expandtab set ruler ” some colors: “white on black” hi normal ctermfg=white ctermbg=black guifg=white guibg=black hi nontext ctermfg=blue ctermbg=black guifg=blue guibg=black […]
How to find and replace text using vi
How to find and replace text using vi or vim Both vi and vim text editor comes with substitute command for finding and replacing text. The syntax is as follows: :%s/WORD-To-Find-HERE/Replace-Word-Here/g OR :%s/FindMe/ReplaceME/g Examples The substitute command can be used […]