Tweak neovim config
- Add noice, navic - Tweak theme configuration - Tweak cder configuration - Update .ignore file
This commit is contained in:
parent
aa1af14bfd
commit
8336ec5048
15 changed files with 211 additions and 63 deletions
|
@ -15,10 +15,15 @@ return function()
|
|||
["]"] = { h = { gitsigns.next_hunk, "Next hunk" } },
|
||||
})
|
||||
|
||||
-- Open cder
|
||||
wk.register({ cd = {
|
||||
function()
|
||||
vim.cmd("Telescope cder")
|
||||
end,
|
||||
"Change directories",
|
||||
} })
|
||||
|
||||
-- Exit terminal insert mode with esc
|
||||
vim.keymap.set("t", "<Esc>", "<C-\\><C-n>", {})
|
||||
|
||||
-- Using ufo, need to remap `zR` and `zM`. If Neovim is 0.6.1, remap yourself
|
||||
vim.keymap.set("n", "zR", require("ufo").openAllFolds)
|
||||
vim.keymap.set("n", "zM", require("ufo").closeAllFolds)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue