summaryrefslogtreecommitdiff
path: root/fnl
diff options
context:
space:
mode:
Diffstat (limited to 'fnl')
-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)