Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (11 sloc) 322 Bytes
" keybindings
" save
imap <C-s> <ESC>:w<CR>
nmap <C-s> :w<CR>
" tagbar
nnoremap <silent> <F8> :TagbarToggle<CR>
nnoremap <silent> <F4> :NERDTreeToggle<CR>
" sudo, which is useful
cnoremap w!! w !sudo dd of=%
" CommandT mapping
nnoremap <silent> <Leader>p :call MyProjectPathCommand('CtrlP @proj_dir', 'CtrlP ./')<CR>