commit
06cdd8e39e
@ -5,3 +5,9 @@ I found it on http://vim.wikia.com/wiki/Deleting_a_buffer_without_closing_the_wi
|
||||
It is for deleting a buffer in Vim without closing the window.
|
||||
|
||||
The reason for adding it here is to be able to add it to an existing Janus bundle (look at https://github.com/carlhuda/janus for instructions on how to do that).
|
||||
|
||||
|
||||
For a custom bind, add this line to your Vim config file:
|
||||
````
|
||||
nnoremap <silent> <Leader>bd :Bclose<CR>
|
||||
````
|
@ -70,4 +70,3 @@ function! s:Bclose(bang, buffer)
|
||||
execute wcurrent.'wincmd w'
|
||||
endfunction
|
||||
command! -bang -complete=buffer -nargs=? Bclose call <SID>Bclose('<bang>', '<args>')
|
||||
nnoremap <silent> <Leader>bd :Bclose<CR>
|
||||
|
Loading…
Reference in New Issue
Block a user