aboutsummaryrefslogtreecommitdiffstats
path: root/nvim-primeagen/lua/lemon/remap.lua
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--nvim-primeagen/lua/lemon/remap.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/nvim-primeagen/lua/lemon/remap.lua b/nvim-primeagen/lua/lemon/remap.lua
index 642cb69..f9864c9 100644
--- a/nvim-primeagen/lua/lemon/remap.lua
+++ b/nvim-primeagen/lua/lemon/remap.lua
@@ -12,6 +12,9 @@ vim.keymap.set("n", "<C-u>", "<C-u>zz")
vim.keymap.set("n", "n", "nzzzv")
vim.keymap.set("n", "N", "Nzzzv")
+-- Ensure :W does what :w does
+vim.cmd("command! -nargs=0 W w")
+
-- greatest remap ever
vim.keymap.set("x", "<leader>p", [["_dP]])