Skip to content

Instantly share code, notes, and snippets.

@daveokeeffe
Created November 16, 2016 14:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save daveokeeffe/0215e7e180b451dee726b9283cdfef82 to your computer and use it in GitHub Desktop.
Save daveokeeffe/0215e7e180b451dee726b9283cdfef82 to your computer and use it in GitHub Desktop.
" make use of CtrlPBuffer using Ctrl-b
map <C-b> :CtrlPBuffer<CR>
" http://joshldavis.com/2014/04/05/vim-tab-madness-buffers-vs-tabs/
" Move to the next buffer
nmap <leader>l :bnext<CR>
" Move to the previous buffer
nmap <leader>h :bprevious<CR>
" Close the current buffer and move to the previous one
" This replicates the idea of closing a tab
nmap <leader>bq :bp <BAR> bd #<CR>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment