Vim On Slackware.

color vim

In RedHat , their vim looks very cool. When we started to use some other OS or distro, we will find out that their vim looks like lack of feature. So, to make it looks our vim looks more cooler, These are the two things we can do.

Create a filename call /usr/share/vim/vimrc , and add in these lines

# cat /usr/share/vim/vimrc
" FIlename /usr/share/vim/vimrc
"Basic Settings
set nocompatible
syntax on
color desert
filetype on

set history=50
set showcmd
set incsearch
set hlsearch

"Key Mapping
set backspace=indent,eol,start
map Q gq

" UI Settings
set wildmenu " turn on wild menu
set ruler " Always show current positions along the bottom
set nolz " do not redraw while running macros (much faster)
set hid " you can change buffer without saving
set backspace=2 " make backspace work normal
set whichwrap+=,h,l " backspace and cursor keys wrap to
"set mouse=a " use mouse everywhere

" Folding Setting
set fdm=marker

# cd /usr/bin
# rm vi
# ln -s vi vim




This page comes from
Kuwait Linux User Group

The URL for this page is: