fix: <leader>nh not work
This commit is contained in:
parent
3e49c39e53
commit
7c7e823b54
6
init.lua
6
init.lua
|
@ -18,6 +18,9 @@ vim.o.list = true
|
||||||
vim.o.relativenumber = true
|
vim.o.relativenumber = true
|
||||||
vim.o.number = true
|
vim.o.number = true
|
||||||
|
|
||||||
|
vim.g.mapleader = " "
|
||||||
|
vim.g.maplocalleader = " "
|
||||||
|
|
||||||
vim.keymap.set("n", "\\q", "<cmd>wincmd q<cr>", { silent = true })
|
vim.keymap.set("n", "\\q", "<cmd>wincmd q<cr>", { silent = true })
|
||||||
vim.keymap.set("n", "zh", "<cmd>wincmd h<cr>", { silent = true })
|
vim.keymap.set("n", "zh", "<cmd>wincmd h<cr>", { silent = true })
|
||||||
vim.keymap.set("n", "zj", "<cmd>wincmd j<cr>", { silent = true })
|
vim.keymap.set("n", "zj", "<cmd>wincmd j<cr>", { silent = true })
|
||||||
|
@ -35,9 +38,6 @@ vim.keymap.set("n", "zx", "<cmd>bdelete<cr>", { silent = true })
|
||||||
|
|
||||||
vim.keymap.set("n", "<leader>nh", "<cmd>nohlsearch<cr>", { silent = true })
|
vim.keymap.set("n", "<leader>nh", "<cmd>nohlsearch<cr>", { silent = true })
|
||||||
|
|
||||||
vim.g.mapleader = " "
|
|
||||||
vim.g.maplocalleader = " "
|
|
||||||
|
|
||||||
-- Load custom config
|
-- Load custom config
|
||||||
custom = {
|
custom = {
|
||||||
full_feature = false,
|
full_feature = false,
|
||||||
|
|
Loading…
Reference in a new issue