]> git.rmz.io Git - dotfiles.git/blobdiff - nvim/lua/plugins/snacks.lua
nvim: show open folds in statuscolumn
[dotfiles.git] / nvim / lua / plugins / snacks.lua
index 89eec464173d3fc2614b4327c63cf69cd0191f08..65a15aa498b8e4b9d6f6a6a4a05ca88d5fca531c 100644 (file)
@@ -24,7 +24,9 @@ return {
       quickfile = { enabled = true },  -- TODO: review if needed
       scope = { enabled = true },
       scroll = { enabled = false },  -- fuck this!
-      statuscolumn = { enabled = true },
+      statuscolumn = {
+        folds = { open = true },
+      },
       terminal = {
         win = {
           keys = {
@@ -49,7 +51,7 @@ return {
           ---@type snacks.dashboard.Item[]
           keys = {
             { icon = " ", key = "f", desc = "Find File", action = ":lua Snacks.dashboard.pick('files')" },
-            { icon = " ", key = "n", desc = "New File", action = ":ene | startinsert" },
+            { icon = " ", key = "i", desc = "New File", action = ":ene | startinsert" },
             { icon = " ", key = "g", desc = "Find Text", action = ":lua Snacks.dashboard.pick('live_grep')" },
             { icon = " ", key = "r", desc = "Recent Files", action = ":lua Snacks.dashboard.pick('oldfiles')" },
             { icon = " ", key = "c", desc = "Config", action = ":lua Snacks.dashboard.pick('files', {cwd = vim.fn.stdpath('config')})" },