mappings.lua: Fix ctrl + q when vertical/horizontal split buffer is open
currently when a vertical or horizontal split buffer is open and ctrl + q is used, then it removes the buffer content but not the actual buffer, further it duplicates an existing buffer content. This commit fixes that
This commit is contained in:
parent
e71b9bbece
commit
2988a22eb8
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ map("n", "<C-s>", ":w <CR>", opt)
|
|||
map("n", "<leader>/", ":CommentToggle<CR>", opt)
|
||||
map("v", "<leader>/", ":CommentToggle<CR>", opt)
|
||||
|
||||
map("n", "<C-q>", ":bp<bar>sp<bar>bn<bar>bd! <CR>", opt)
|
||||
map("n", "<C-q>", ":bd! <CR>", opt)
|
||||
|
||||
-- compe stuff
|
||||
|
||||
|
|
Loading…
Reference in a new issue