跳到主要內容

vimrc

:nmap - Display normal mode maps
:imap - Display insert mode maps
:vmap - Display visual and select mode maps
:smap - Display select mode maps
:xmap - Display visual mode maps
:cmap - Display command-line mode maps
:omap - Display operator pending mode maps

顯示前/後筆搜尋結果, 按shift-p/n
map <S-p> <ESC>:cprev<CR>
map <S-n> <ESC>:cnext<CR>

set mouse=nv    #enabling mouse resize window pane size in trinity mode 


set nu      #enable line number, set nu! to disable

留言