summaryrefslogtreecommitdiffstats
path: root/.config/nvim/lua/module/keymaps.lua
diff options
context:
space:
mode:
authorRevaz Nakhutsrishvili <r@revaz.xyz>2024-09-03 11:02:19 +0400
committerRevaz Nakhutsrishvili <r@revaz.xyz>2024-09-03 11:02:19 +0400
commit72bac3930e8442faaea834724c2ef80440c505ed (patch)
tree0910c73f912cc9f747921f408decbd73a97fecb9 /.config/nvim/lua/module/keymaps.lua
parentaa8c3484100b2b7e84a7aa8c7e416dde484b25ee (diff)
add neovim config
Diffstat (limited to '.config/nvim/lua/module/keymaps.lua')
-rw-r--r--.config/nvim/lua/module/keymaps.lua9
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]])