diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-08-05 11:49:18 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-08-05 11:49:18 +0200 |
commit | b9690e31d15a6b9bc97c80a567a7fc02cd8f8849 (patch) | |
tree | 8c822efcf9c0dc4f15dc67205ba06f3a93327a7d | |
parent | 62b8c01ef02da8f83ab496595312875d29542473 (diff) |
Add stay-in-place plugin
-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 {}} |