diff options
Diffstat (limited to '.config/nvim/lua/module/keymaps.lua')
-rw-r--r-- | .config/nvim/lua/module/keymaps.lua | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/.config/nvim/lua/module/keymaps.lua b/.config/nvim/lua/module/keymaps.lua new file mode 100644 index 0000000..718e471 --- /dev/null +++ b/.config/nvim/lua/module/keymaps.lua @@ -0,0 +1,9 @@ +vim.keymap.set("n", "<C-d>", "<C-d>zz") +vim.keymap.set("n", "<C-u>", "<C-u>zz") + +vim.keymap.set("n", "<leader>e", ":Ex<CR>") + +vim.keymap.set("i", "<C-c>", "<Esc>") + +vim.keymap.set({"n", "v"}, "<leader>y", [["+y]]) +vim.keymap.set({"n", "v"}, "<leader>p", [["+gP]]) |