dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit 97acd3bf71e5dcc8528c3db33b727c8f4e3dbbb5
parent 11fa9f3e532611ae47911add04b5df07729c5748
Author: Alex Balgavy <a.balgavy@gmail.com>
Date:   Thu, 23 Aug 2018 17:16:19 +0200

Plugin and mapping to delete hidden buffers (except unsaved)

Diffstat:
Mdotfiles/vim-config/map.vimrc | 3+++
Mdotfiles/vim-config/plugins.vimrc | 4++++
2 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/dotfiles/vim-config/map.vimrc b/dotfiles/vim-config/map.vimrc @@ -44,3 +44,6 @@ noremap <C-s> :sh<cr> " Tab mappings nnoremap <C-t> :tabnew<cr> nnoremap <C-c> :tabclose<cr> + +" Delete hidden buffers +nnoremap <leader>dh :DeleteHiddenBuffers<cr> diff --git a/dotfiles/vim-config/plugins.vimrc b/dotfiles/vim-config/plugins.vimrc @@ -28,4 +28,8 @@ Plug 'tpope/vim-endwise' " Surround - super useful plugin for surrounding stuff with quotes/brackets/tags Plug 'tpope/vim-surround' + +" Delete hidden unused buffers +Plug 'arithran/vim-delete-hidden-buffers' + call plug#end()