summaryrefslogtreecommitdiff
path: root/fnl
diff options
context:
space:
mode:
Diffstat (limited to 'fnl')
-rw-r--r--fnl/plugins/vim-slash.fnl6
-rw-r--r--fnl/settings/keymaps.fnl2
2 files changed, 2 insertions, 6 deletions
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 <plug>(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 :<c-u> :<c-u>zz {}]
;; Close window
[:n :Q "<cmd>:q<CR>" {}]
+ ;; Remove highlighted search
+ [:n :<c-m> :<cmd>nohlsearch<CR> {}]
;; Force refresh
[:n :mj "<cmd>:e<CR>" {:desc :Refresh}]])