summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-07-24 13:57:22 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-07-24 13:57:22 +0200
commit5e7f62447cdb6c936bf328d9859e44d8d1cc00a4 (patch)
tree7748c27a58734637988b5b4c49dc68a02f46ad62
parenteb47c52b2460b1dc695ef4f855ab5483e9a12028 (diff)
Replace no highlight with c-h
-rw-r--r--fnl/config/which-key.fnl1
-rw-r--r--fnl/settings/keymaps.fnl10
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 [:<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)