added folds config

This commit is contained in:
Nefrace 2023-12-26 22:04:18 +03:00
parent 07c5d7a038
commit f6e1288059
2 changed files with 12 additions and 2 deletions

View File

@ -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>wq", vim.cmd.quit)
--- Folds
vim.keymap.set("n", "<leader>ff", ":foldopen<CR>")
vim.keymap.set("n", "<leader>fc", ":foldclose<CR>")
--- Some fold {{{
--- }}}

View File

@ -30,6 +30,5 @@ vim.opt.updatetime = 50
--vim.opt.colorcolumn = "80"
vim.opt.colorcolumn = ""
vim.g.mapleader = " "
vim.opt.foldmethod = "marker"