vim buffer maps

This commit is contained in:
clint 2022-08-22 21:59:38 -05:00
parent 0b4a07a2eb
commit 3390ca455e
1 changed files with 6 additions and 0 deletions

View File

@ -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>