diff options
author | louie <louie@example.com> | 2022-07-18 17:50:03 -0700 |
---|---|---|
committer | louie <louie@example.com> | 2022-07-18 17:50:03 -0700 |
commit | 0783268e30dd8e5b4648164e54baf72e4a6cb83b (patch) | |
tree | c187b71bc6f75932d06ea9702a722a68515e7d48 /lua | |
parent | b02428d220d21f81263b796b56216662c7b8157f (diff) |
Better buffer deletion
Diffstat (limited to 'lua')
-rw-r--r-- | lua/user/keymaps.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lua/user/keymaps.lua b/lua/user/keymaps.lua index 8725c59..1b9a2c8 100644 --- a/lua/user/keymaps.lua +++ b/lua/user/keymaps.lua @@ -39,6 +39,9 @@ keymap("n", "<S-Right>", "gt", opts) keymap("n", "<S-Down>", ":bnext<CR>", opts) keymap("n", "<S-Up>", ":bprevious<CR>", opts) +-- Close buffer without closing window +keymap("n", "<leader>bd", ":b#<CR>:bd#<CR>", opts) + -- Open Lexplorer --keymap("n", "<leader>e", ":Lex 30<cr>", opts) |