diff --git a/lua/nefrace/remap.lua b/lua/nefrace/remap.lua index 483a38f..1fdba74 100644 --- a/lua/nefrace/remap.lua +++ b/lua/nefrace/remap.lua @@ -22,3 +22,14 @@ vim.keymap.set("n", "ws", vim.cmd.split) vim.keymap.set("n", "wv", vim.cmd.vsplit) vim.keymap.set("n", "wq", vim.cmd.quit) +--- Folds + +vim.keymap.set("n", "ff", ":foldopen") +vim.keymap.set("n", "fc", ":foldclose") + + +--- Some fold {{{ + + + + --- }}} diff --git a/lua/nefrace/set.lua b/lua/nefrace/set.lua index 47e987c..a6c28f9 100644 --- a/lua/nefrace/set.lua +++ b/lua/nefrace/set.lua @@ -30,6 +30,5 @@ vim.opt.updatetime = 50 --vim.opt.colorcolumn = "80" vim.opt.colorcolumn = "" - vim.g.mapleader = " " - +vim.opt.foldmethod = "marker"