1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
local key = vim.keymap
vim.g.mapleader = " "
vim.g.localleader = " "
-- movement between splits
key.set("n", "<C-h>", "<C-w>h")
key.set("n", "<C-j>", "<C-w>j")
key.set("n", "<C-k>", "<C-w>k")
key.set("n", "<C-l>", "<C-w>l")
key.set("n", "<C-L>", ":vs<CR>")
key.set("n", "<C-J>", ":sp<CR>")
key.set("n", "<Esc><Esc>", ":nohlsearch<CR>", { silent = true })
|