From 7889e0c5119e09876ccfaae6e75a2033184d083a Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Tue, 5 Mar 2024 00:13:44 +0100 Subject: Remove vim-slash --- fnl/plugins/vim-slash.fnl | 6 ------ fnl/settings/keymaps.fnl | 2 ++ 2 files changed, 2 insertions(+), 6 deletions(-) delete mode 100644 fnl/plugins/vim-slash.fnl (limited to 'fnl') diff --git a/fnl/plugins/vim-slash.fnl b/fnl/plugins/vim-slash.fnl deleted file mode 100644 index e638d73..0000000 --- a/fnl/plugins/vim-slash.fnl +++ /dev/null @@ -1,6 +0,0 @@ -;; Provides a set of mappings for enhancing in-buffer search experience. - -(fn config [] - (vim.cmd "noremap (slash-after) zz")) - -{1 :junegunn/vim-slash :event :BufReadPost : config} diff --git a/fnl/settings/keymaps.fnl b/fnl/settings/keymaps.fnl index 3f800c6..d72ac86 100644 --- a/fnl/settings/keymaps.fnl +++ b/fnl/settings/keymaps.fnl @@ -38,6 +38,8 @@ [:n : :zz {}] ;; Close window [:n :Q ":q" {}] + ;; Remove highlighted search + [:n : :nohlsearch {}] ;; Force refresh [:n :mj ":e" {:desc :Refresh}]]) -- cgit v1.2.3-70-g09d2