diff options
| author | triethyl <triethylammonium@pm.me> | 2025-07-15 14:47:28 -0400 |
|---|---|---|
| committer | triethyl <triethylammonium@pm.me> | 2025-07-15 14:47:28 -0400 |
| commit | 4675a023e85fb0c188cbf1916decff43ab95a692 (patch) | |
| tree | 99aa8660983fea68d4f3c39571bb2d9d7b003411 /pkgs/custom-neovim/config/lua/plugins | |
| parent | e44a859b819c000ed43f03bcdf93ba9dd0e34640 (diff) | |
working on custom neovim
Diffstat (limited to 'pkgs/custom-neovim/config/lua/plugins')
| -rw-r--r-- | pkgs/custom-neovim/config/lua/plugins/actions-preview.lua | 3 | ||||
| -rw-r--r-- | pkgs/custom-neovim/config/lua/plugins/persisted.lua | 6 | ||||
| -rw-r--r-- | pkgs/custom-neovim/config/lua/plugins/which-key.lua | 9 |
3 files changed, 14 insertions, 4 deletions
diff --git a/pkgs/custom-neovim/config/lua/plugins/actions-preview.lua b/pkgs/custom-neovim/config/lua/plugins/actions-preview.lua new file mode 100644 index 0000000..0e3cc02 --- /dev/null +++ b/pkgs/custom-neovim/config/lua/plugins/actions-preview.lua @@ -0,0 +1,3 @@ +require("actions-preview").setup { + backend = {"snacks"} +} diff --git a/pkgs/custom-neovim/config/lua/plugins/persisted.lua b/pkgs/custom-neovim/config/lua/plugins/persisted.lua index d3a5814..6f0273e 100644 --- a/pkgs/custom-neovim/config/lua/plugins/persisted.lua +++ b/pkgs/custom-neovim/config/lua/plugins/persisted.lua @@ -1,3 +1,3 @@ -require("persisted").setup() - -require("telescope").load_extension("persisted") +require("persisted").setup { + autostart = true, +} diff --git a/pkgs/custom-neovim/config/lua/plugins/which-key.lua b/pkgs/custom-neovim/config/lua/plugins/which-key.lua index 612af14..3d31fa7 100644 --- a/pkgs/custom-neovim/config/lua/plugins/which-key.lua +++ b/pkgs/custom-neovim/config/lua/plugins/which-key.lua @@ -1,3 +1,10 @@ require("which-key").setup { - preset = "modern", + preset = "helix", + delay = 0, } + +-- Show hydra mode for changing windows +-- require("which-key").show({ +-- keys = {"<c-w>", modes = {"n"}}, +-- loop = true, -- this will keep the popup open until you hit <esc> +-- }) |
