X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/4eda6b5272f7fe9b5fabb8e5c13ef4567004b865..f534f49902f86d157292b5a2ba740c4d7f079741:/nvim/lua/plugins/snacks.lua diff --git a/nvim/lua/plugins/snacks.lua b/nvim/lua/plugins/snacks.lua index 63e12ab..65a15aa 100644 --- a/nvim/lua/plugins/snacks.lua +++ b/nvim/lua/plugins/snacks.lua @@ -24,14 +24,16 @@ 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 = { - nav_h = { "", term_nav("h"), desc = "Go to Left Window", expr = true, mode = "t" }, + nav_h = { "", term_nav("W"), desc = "Go to Prev Window", expr = true, mode = "t" }, nav_j = { "", term_nav("j"), desc = "Go to Lower Window", expr = true, mode = "t" }, nav_k = { "", term_nav("k"), desc = "Go to Upper Window", expr = true, mode = "t" }, - nav_l = { "", term_nav("l"), desc = "Go to Right Window", expr = true, mode = "t" }, + nav_l = { "", term_nav("w"), desc = "Go to Next Window", expr = true, mode = "t" }, }, }, }, @@ -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')})" },