From 5e7f62447cdb6c936bf328d9859e44d8d1cc00a4 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm <gustaf.rydholm@gmail.com> 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(-) (limited to 'fnl') 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 [:<cmd>AerialClose<CR> "Close Aerial"]} :e [:<cmd>NvimTreeToggle<cr> :Explorer] :c [:<cmd>Bdelete!<CR> "Close Buffer"] - :n [:<cmd>nohlsearch<CR> "No Highlight"] :P ["<cmd>Telescope projects<cr>" :Projects] :z [:<cmd>ZenMode<cr> "Zen Mode"] :b ["<cmd>lua require('telescope.builtin').buffers(require('telescope.themes').get_dropdown{sort_lastused = true, initial_mode = 'normal', previewer = false})<cr>" 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 :<C-h> :<C-w>h opts) -(map :n :<C-j> :<C-w>j opts) -(map :n :<C-k> :<C-w>k opts) -(map :n :<C-l> :<C-w>l opts) +(map :n :<m-h> :<C-w>h opts) +(map :n :<m-j> :<C-w>j opts) +(map :n :<m-k> :<C-w>k opts) +(map :n :<m-l> :<C-w>l opts) ;; Resize with arrows (map :n :<C-Up> ":resize -2<CR>" opts) @@ -55,3 +55,5 @@ (map :n :<m-s> :<cmd>split<CR> opts) (map :n :<C-s> :<cmd>split<CR> opts) (map :n :<m-v> :<cmd>vsplit<CR> opts) + +(map :n :<c-h> :<cmd>nohlsearch<CR> opts) -- cgit v1.2.3-70-g09d2