buffer switching shortcuts

This commit is contained in:
Paul Trowbridge 2020-05-18 23:17:22 -04:00
parent 28536ad232
commit 37363b3693

11
.vimrc
View File

@ -37,8 +37,11 @@ let g:netrw_altv = 1
let g:netrw_winsize = 25
"----airline tabs for buffers-------
let g:airline#extensions#tabline#enabled = 1
map gn :bn<cr>
map gp :bp<cr>
map gd :bp<cr>:bd #<cr>
let g:airline_theme = 'dark'
let mapleader = ";"
set showcmd
map <Leader>a :bn<cr>
map <Leader>f :bp<cr>
map <Leader>d :bp<cr>:bd #<cr>
"-----nerdtree--------------------
nmap ge :NERDTreeToggle<CR>
nmap <Leader>e :NERDTreeToggle<CR>