From 5e7f62447cdb6c936bf328d9859e44d8d1cc00a4 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sun, 24 Jul 2022 13:57:22 +0200 Subject: Replace no highlight with c-h --- fnl/config/which-key.fnl | 1 - fnl/settings/keymaps.fnl | 10 ++++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/fnl/config/which-key.fnl b/fnl/config/which-key.fnl index e60744b..608c629 100644 --- a/fnl/config/which-key.fnl +++ b/fnl/config/which-key.fnl @@ -44,7 +44,6 @@ :c [:AerialClose "Close Aerial"]} :e [:NvimTreeToggle :Explorer] :c [:Bdelete! "Close Buffer"] - :n [:nohlsearch "No Highlight"] :P ["Telescope projects" :Projects] :z [:ZenMode "Zen Mode"] :b ["lua require('telescope.builtin').buffers(require('telescope.themes').get_dropdown{sort_lastused = true, initial_mode = 'normal', previewer = false})" diff --git a/fnl/settings/keymaps.fnl b/fnl/settings/keymaps.fnl index d44113f..a7d709a 100644 --- a/fnl/settings/keymaps.fnl +++ b/fnl/settings/keymaps.fnl @@ -19,10 +19,10 @@ ;; Normal ;; ;; Better window navigation -(map :n : :h opts) -(map :n : :j opts) -(map :n : :k opts) -(map :n : :l opts) +(map :n : :h opts) +(map :n : :j opts) +(map :n : :k opts) +(map :n : :l opts) ;; Resize with arrows (map :n : ":resize -2" opts) @@ -55,3 +55,5 @@ (map :n : :split opts) (map :n : :split opts) (map :n : :vsplit opts) + +(map :n : :nohlsearch opts) -- cgit v1.2.3-70-g09d2