mappings for moving between buffers and toggling NERDtree

This commit is contained in:
Paul Trowbridge 2020-05-17 01:15:58 -04:00
parent a68ff55568
commit 28536ad232

8
.vimrc
View File

@ -11,6 +11,7 @@ Plugin 'scrooloose/nerdtree'
Plugin 'tpope/vim-fugitive' Plugin 'tpope/vim-fugitive'
Plugin 'edkolev/tmuxline.vim' Plugin 'edkolev/tmuxline.vim'
Plugin 'vim-airline/vim-airline-themes' Plugin 'vim-airline/vim-airline-themes'
Plugin 'chrisbra/csv.vim'
"Plugin 'Lokaltog/powerline', {'rtp': 'powerline/bindings/vim/'} "Plugin 'Lokaltog/powerline', {'rtp': 'powerline/bindings/vim/'}
" All of your Plugins must be added before the following line " All of your Plugins must be added before the following line
call vundle#end() " required call vundle#end() " required
@ -34,3 +35,10 @@ let g:netrw_liststyle = 3
let g:netrw_browse_split = 4 let g:netrw_browse_split = 4
let g:netrw_altv = 1 let g:netrw_altv = 1
let g:netrw_winsize = 25 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>
"-----nerdtree--------------------
nmap ge :NERDTreeToggle<CR>