" plugin/plugin.bbye.vim
"
" @file Configuration of the Bbye plugin


" Close the current buffer but preserve the window layout if possible
if dw#IsLoaded('vim-bbye')
  nnoremap <silent><special> <Leader>q :<C-U>Bdelete<CR>
else
  nnoremap <silent><special> <Leader>q :<C-U>lclose<CR>:bdelete<CR>
endif

" plugin/plugin.bbye.vim
"
" @file Configuration of the Bbye plugin


" Close the current buffer but preserve the window layout if possible
if dw#IsLoaded('vim-bbye')
  nnoremap <silent><special> <Leader>x :<C-U>Bdelete<CR>
else
  nnoremap <silent><special> <Leader>x :<C-U>lclose<CR>:bdelete<CR>
endif

Use <Leader>x in vim to close buffer
fix: Use <Leader>x in vim to close buffer

dweidner/dotfiles,dweidner/dotfiles