[vim] Fiddle w/mappings

pull/28/head
Alpha Chen 9 years ago
parent ae3b0e38fe
commit 4265ddaa53

@ -25,10 +25,10 @@ nnoremap ` '
" nnoremap \ , " nnoremap \ ,
nnoremap Y y$ nnoremap Y y$
nnoremap <leader>/ :noh<cr> nnoremap <leader>/ :noh<cr>
nnoremap gt :exec tabpagenr('$') == 1 ? 'bn' : 'tabnext'<cr> " nnoremap gt :exec tabpagenr('$') == 1 ? 'bn' : 'tabnext'<cr>
nnoremap gT :exec tabpagenr('$') == 1 ? 'bp' : 'tabprevious'<cr> " nnoremap gT :exec tabpagenr('$') == 1 ? 'bp' : 'tabprevious'<cr>
nnoremap <C-n> :exec tabpagenr('$') == 1 ? 'bn' : 'tabnext'<cr> " nnoremap <C-n> :exec tabpagenr('$') == 1 ? 'bn' : 'tabnext'<cr>
nnoremap <C-p> :exec tabpagenr('$') == 1 ? 'bp' : 'tabprevious'<cr> " nnoremap <C-p> :exec tabpagenr('$') == 1 ? 'bp' : 'tabprevious'<cr>
cnoremap w!! w !sudo tee % > /dev/null cnoremap w!! w !sudo tee % > /dev/null
" inoremap <bs> <nop> " inoremap <bs> <nop>
inoremap <esc> <nop> inoremap <esc> <nop>
@ -198,6 +198,9 @@ python from powerline.vim import setup as powerline_setup
python powerline_setup() python powerline_setup()
python del powerline_setup python del powerline_setup
" vim-projectionist
nnoremap <leader>a :A<cr>
" gui stuff " gui stuff
set guioptions-=T set guioptions-=T
set guifont=Consolas:h9:cANSI set guifont=Consolas:h9:cANSI

Loading…
Cancel
Save