diff options
Diffstat (limited to 'config/.config/nvim/lua/miself/remap.lua')
-rw-r--r-- | config/.config/nvim/lua/miself/remap.lua | 16 |
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>') |