diff options
Diffstat (limited to 'pkgs/old-custom-neovim/config/lua/plugins/snacks.lua')
| -rw-r--r-- | pkgs/old-custom-neovim/config/lua/plugins/snacks.lua | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/pkgs/old-custom-neovim/config/lua/plugins/snacks.lua b/pkgs/old-custom-neovim/config/lua/plugins/snacks.lua new file mode 100644 index 0000000..c2cf737 --- /dev/null +++ b/pkgs/old-custom-neovim/config/lua/plugins/snacks.lua @@ -0,0 +1,36 @@ +require("snacks").setup { + bigfile = { enabled = true }, + picker = { + enabled = true, + win = { + input = { + keys = { + ["<Esc>"] = { "close", mode = { "n", "i" } }, + }, + }, + }, + }, + lazygit = { + enabled = true, + config = { + quitOnTopLevelReturn = true, + }, + win = { + height = 0.8, + }, + }, + input = { + enabled = true, + }, + terminal = { + -- interactive = false, + start_insert = true, + auto_insert = true, + win = { + height = 0.2, + }, + keys = {}, + }, +} + +-- Utils.mapkey("t", "<c-w>", "Manage windows", "<c-\\><c-o><c-w>") |
