From a16bdfe930d89e1a7fb354b78d16e8742118f76d Mon Sep 17 00:00:00 2001 From: Rasmus Date: Sat, 8 Apr 2023 00:27:03 +0300 Subject: checkers --- config/.config/nvim/lua/miself/remap.lua | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 config/.config/nvim/lua/miself/remap.lua (limited to 'config/.config/nvim/lua/miself/remap.lua') 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", "e", vim.cmd.Ex) +vim.keymap.set("i", "jj", '') + + +-- Cool Mover +vim.keymap.set("v", "J", ":m '>+1gv=gv") +vim.keymap.set("v", "K", ":m '<-2gv=gv") + + +-- Clear Search +vim.keymap.set('n', "h", ':nohlsearch') + + +-- Buffer Tabbing +vim.keymap.set('n', "", ':e #') -- cgit v1.2.3