summaryrefslogtreecommitdiff
path: root/pkgs/custom-neovim/config/lua/mappings.lua
diff options
context:
space:
mode:
authortriethyl <triethylammonium@pm.me>2025-07-23 17:58:04 -0400
committertriethyl <triethylammonium@pm.me>2025-07-23 17:58:04 -0400
commitf88015e36d85115153d3664614ffe9d70dacf6b3 (patch)
tree275a977c5c149c68cdfa9bbb00f341645d5ad5ad /pkgs/custom-neovim/config/lua/mappings.lua
parent6fae3be80b67abfda8e475542625169dd6e77f31 (diff)
working on custom neovim
Diffstat (limited to 'pkgs/custom-neovim/config/lua/mappings.lua')
-rw-r--r--pkgs/custom-neovim/config/lua/mappings.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/custom-neovim/config/lua/mappings.lua b/pkgs/custom-neovim/config/lua/mappings.lua
index 9043096..8e166a9 100644
--- a/pkgs/custom-neovim/config/lua/mappings.lua
+++ b/pkgs/custom-neovim/config/lua/mappings.lua
@@ -53,6 +53,8 @@ vim.keymap.set("c", "<cr>", function()
end, { expr = true }) -- Make enter complete command.
mapkey("n", "<esc>", "Clear highlights", ":noh<cr>") -- Make esc clear highlights
mapkey("n", "<leader>q", "Close buffer", ":bd<cr>")
+mapkey("n", "<leader>Q", "Force close buffer", ":bd!<cr>")
+mapkey({"n", "v"}, "<leader>d", "Really delete", [["_d]])
-- Visual Movement Keys.
-- mapkey({"n", "v"}, "j", "Go down visually", "gj")