added folds config
This commit is contained in:
parent
07c5d7a038
commit
f6e1288059
|
@ -22,3 +22,14 @@ vim.keymap.set("n", "<leader>ws", vim.cmd.split)
|
||||||
vim.keymap.set("n", "<leader>wv", vim.cmd.vsplit)
|
vim.keymap.set("n", "<leader>wv", vim.cmd.vsplit)
|
||||||
vim.keymap.set("n", "<leader>wq", vim.cmd.quit)
|
vim.keymap.set("n", "<leader>wq", vim.cmd.quit)
|
||||||
|
|
||||||
|
--- Folds
|
||||||
|
|
||||||
|
vim.keymap.set("n", "<leader>ff", ":foldopen<CR>")
|
||||||
|
vim.keymap.set("n", "<leader>fc", ":foldclose<CR>")
|
||||||
|
|
||||||
|
|
||||||
|
--- Some fold {{{
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
--- }}}
|
||||||
|
|
|
@ -30,6 +30,5 @@ vim.opt.updatetime = 50
|
||||||
|
|
||||||
--vim.opt.colorcolumn = "80"
|
--vim.opt.colorcolumn = "80"
|
||||||
vim.opt.colorcolumn = ""
|
vim.opt.colorcolumn = ""
|
||||||
|
|
||||||
vim.g.mapleader = " "
|
vim.g.mapleader = " "
|
||||||
|
vim.opt.foldmethod = "marker"
|
||||||
|
|
Loading…
Reference in New Issue