This is my vimrc setting on my linux machine. You can copy and save it as .vimrc in your home folder.
" Turn on line numbering. Turn it off with "set nonu"
set nu
" Set syntax on
syntax on
" Indent automatically depending on filetype
filetype indent on
set autoindent
" Case insensitive search
set ic
" Higlhight search
set hls
" Wrap text instead of being on one line
set lbr
" Change colorscheme from default to delek
colorscheme torte
" With both ignorecase and smartcase turned on, a search is case-insensitive if "you enter the search string in ALL lower case.
"However, if your search string has one or more characters in upper case, it will "assume that you want a case-sensitive search.
set ignorecase
set smartcase
incsearch stands for incremental search. It means that you will see what vim matches as you type in each letter of your search string (without having to hit return before search is even attempted).
set incsearch
沒有留言:
發佈留言