From b9690e31d15a6b9bc97c80a567a7fc02cd8f8849 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Fri, 5 Aug 2022 11:49:18 +0200 Subject: Add stay-in-place plugin --- fnl/config/init.fnl | 1 + fnl/config/stay-in-place.fnl | 4 ++++ fnl/plugins.fnl | 1 + 3 files changed, 6 insertions(+) create mode 100644 fnl/config/stay-in-place.fnl 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 {}} -- cgit v1.2.3-70-g09d2