2007/08/18

.vimrc file

The backup of .vimrc file




set foldmethod=manual
set autoindent
"set enc=taiwan
"set fileencoding=taiwan
"set encoding=utf-8 " Sets the character encoding used inside Vim.
set fileencodings=utf-8,big5,ucs-bom,default,latin1
"set fileencoding=utf-8 " Sets the character encoding for the file of this buffer
"set termencoding=utf-8 " Encoding used for the terminal
set hls
set nocompatible
set sw=4
set ts=4
syntax on
highlight Comment ctermfg=darkcyan
highlight Search term=reverse ctermbg=4 ctermfg=7

" Toggle on/off paste mode
map <F9> :set paste!<BAR>set paste?<CR>
set pastetoggle=<F9>

map <F10> :set nu!<BAR>set nu?<CR>

"set nu!

No comments:

Post a Comment