summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/nvim/init.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua
index 3963e93..6b992d7 100644
--- a/.config/nvim/init.lua
+++ b/.config/nvim/init.lua
@@ -31,8 +31,8 @@ local mapnl = function(lhs, rhs, opts)
end
-- [[ keybindings ]]
--- close and bd
-map("n", "<C-x>", ":bd<CR>")
+-- generic
+map("n", "<C-x>", ":bd!<CR>")
map("t", "<C-x>", "<C-\\><C-n>:bd!<CR>")
map("n", "<C-s>", ":close<CR>")
map("t", "<C-s>", "<C-\\><C-n>")