diff options
Diffstat (limited to 'fnl')
-rw-r--r-- | fnl/config/init.fnl | 1 | ||||
-rw-r--r-- | fnl/config/stay-in-place.fnl | 4 | ||||
-rw-r--r-- | fnl/plugins.fnl | 1 |
3 files changed, 6 insertions, 0 deletions
diff --git a/fnl/config/init.fnl b/fnl/config/init.fnl index 9b1fb5e..4fe4484 100644 --- a/fnl/config/init.fnl +++ b/fnl/config/init.fnl @@ -28,4 +28,5 @@ config.zen config.minibar config.surround + config.stay-in-place config.lsp]}) diff --git a/fnl/config/stay-in-place.fnl b/fnl/config/stay-in-place.fnl new file mode 100644 index 0000000..9136fdf --- /dev/null +++ b/fnl/config/stay-in-place.fnl @@ -0,0 +1,4 @@ +;; Prevent the cursor from moving when using shift and filter actions. +(module config.stay-in-place {autoload {: util}}) + +(util.use-config :stay-in-place {}) diff --git a/fnl/plugins.fnl b/fnl/plugins.fnl index 59b7197..97e0552 100644 --- a/fnl/plugins.fnl +++ b/fnl/plugins.fnl @@ -55,4 +55,5 @@ :williamboman/mason.nvim {} :williamboman/mason-lspconfig.nvim {} :s1n7ax/nvim-window-picker {} + :gbprod/stay-in-place.nvim {} :kylechui/nvim-surround {}} |