vim buffer maps
This commit is contained in:
parent
0b4a07a2eb
commit
3390ca455e
|
@ -40,3 +40,9 @@ vnoremap <space> zf
|
|||
" F9 execute current Python file
|
||||
autocmd FileType python map <buffer> <F9> :w<CR>:exec '!clear;python' shellescape(@%, 1)<CR>
|
||||
autocmd FileType python imap <buffer> <F9> <esc>:w<CR>:exec '!clear;python' shellescape(@%, 1)<CR>
|
||||
|
||||
" Cycle through buffers
|
||||
map [b :bp<CR>
|
||||
map ]b :bn<CR>
|
||||
map db :bd<CR>
|
||||
|
||||
|
|
Loading…
Reference in New Issue