Skip to content
liugang edited this page Sep 13, 2010 · 3 revisions

@
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" switch paste mode keyboard shortcuts
set pastetoggle=
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" switch number toggle keyboard shortcuts
nmap cn :set nonu
nmap cm :set nu

""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" tabnew keyboard shortcuts, for open a diary
nmap t1 :tabnew /workspace/work/diary/liugang_diary.txt
nmap tc :tabclose

""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" minibufImpl keyboard shortcuts
“alt >
map :MBEbn
“alt <

map :MBEbp

“map b :MiniBufExplorer
“map c :CMiniBufExplorer
“map u :UMiniBufExplorer
“map t :TMiniBufExplorer

""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" cscope keyboard shortcuts
nmap <C-[>s :cs find s =expand(“”)
nmap <C-[>g :cs find g =expand(“”)
nmap <C-[>c :cs find c =expand(“”)
nmap <C-[>t :cs find t =expand(“”)
nmap <C-[>e :cs find e =expand(“”)
nmap <C-[>f :cs find f =expand(“”)
nmap <C-[>i :cs find i ^=expand(“”)$
nmap <C-[>d :cs find d =expand(“”)

“let g:T_DATE_FORMAT = “%Y-%m-%d”
let g:T_DATE_FORMAT = “%m-%b-%Y”
@

Clone this wiki locally