summaryrefslogtreecommitdiff
path: root/config/.config/nvim/lua/miself/remap.lua
diff options
context:
space:
mode:
authorRasmus <rasmus.luha@gmail.com>2023-04-08 00:27:03 +0300
committerRasmus <rasmus.luha@gmail.com>2023-04-08 00:27:03 +0300
commita16bdfe930d89e1a7fb354b78d16e8742118f76d (patch)
treef32aabd929a485ac24ea2b3fb1c9c9d041f27478 /config/.config/nvim/lua/miself/remap.lua
checkers
Diffstat (limited to 'config/.config/nvim/lua/miself/remap.lua')
-rw-r--r--config/.config/nvim/lua/miself/remap.lua16
1 files changed, 16 insertions, 0 deletions
diff --git a/config/.config/nvim/lua/miself/remap.lua b/config/.config/nvim/lua/miself/remap.lua
new file mode 100644
index 0000000..6682c49
--- /dev/null
+++ b/config/.config/nvim/lua/miself/remap.lua
@@ -0,0 +1,16 @@
+vim.g.mapleader = " "
+vim.keymap.set("n", "<leader>e", vim.cmd.Ex)
+vim.keymap.set("i", "jj", '<Esc>')
+
+
+-- Cool Mover
+vim.keymap.set("v", "J", ":m '>+1<CR>gv=gv")
+vim.keymap.set("v", "K", ":m '<-2<CR>gv=gv")
+
+
+-- Clear Search
+vim.keymap.set('n', "<leader>h", ':nohlsearch<CR>')
+
+
+-- Buffer Tabbing
+vim.keymap.set('n', "<S-Tab>", ':e #<CR>')