summaryrefslogtreecommitdiff
path: root/pkgs/custom-neovim/config/lua/plugins/snacks.lua
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/custom-neovim/config/lua/plugins/snacks.lua')
-rw-r--r--pkgs/custom-neovim/config/lua/plugins/snacks.lua16
1 files changed, 15 insertions, 1 deletions
diff --git a/pkgs/custom-neovim/config/lua/plugins/snacks.lua b/pkgs/custom-neovim/config/lua/plugins/snacks.lua
index 89bf2fa..c2cf737 100644
--- a/pkgs/custom-neovim/config/lua/plugins/snacks.lua
+++ b/pkgs/custom-neovim/config/lua/plugins/snacks.lua
@@ -5,7 +5,7 @@ require("snacks").setup {
win = {
input = {
keys = {
- -- ["<Esc>"] = { "close", mode = { "n", "i" } },
+ ["<Esc>"] = { "close", mode = { "n", "i" } },
},
},
},
@@ -15,8 +15,22 @@ require("snacks").setup {
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>")