偶现在的最爱是vim,顺便分享一下偶的_vimrc(部分)
复制内容到剪贴板
代码:
set nobackup
colo torte
set guifont=Courier_New:h12
set hlsearch
set ai
set si
set shiftwidth=2
set softtabstop=2
set tabstop=2
set number
set noexpandtab
set smarttab
set bsdir=buffer
set autochdir
set enc=cp936
set fenc=utf-8
set fencs=utf-8,ucs-bom,gb18030,gbk,gb2312,cp936
set fileformats=unix,dos
" tab navigation like firefox
:nmap <C-S-tab> :tabprevious<cr>
:nmap <C-tab> :tabnext<cr>
:map <C-S-tab> :tabprevious<cr>
:map <C-tab> :tabnext<cr>
:imap <C-S-tab> <ESC>:tabprevious<cr>i
:imap <C-tab> <ESC>:tabnext<cr>i
:nmap <C-t> :tabnew<cr>
:imap <C-t> <ESC>:tabnew<cr>
:map <F6> :NERDTree<cr>
filetype on
filetype plugin on
set ffs=dos,unix,mac
set mouse=a