From 13c687bed30be6bc8a9eb801e0d26fab4c67f37a Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Wed, 25 Dec 2024 23:57:12 +0100 Subject: Use default keymaps for window movements --- fnl/settings/keymaps.fnl | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) (limited to 'fnl/settings') diff --git a/fnl/settings/keymaps.fnl b/fnl/settings/keymaps.fnl index 1c73350..aa32316 100644 --- a/fnl/settings/keymaps.fnl +++ b/fnl/settings/keymaps.fnl @@ -5,16 +5,11 @@ (local mappings [;;Remap space as leader key ["" : : {}] ;; Normal ;; - ;; Better window navigation - [:n : :h {}] - [:n : :j {}] - [:n : :k {}] - [:n : :l {}] ;; Resize with arrows - [:n : "+" {}] - [:n : "-" {}] - [:n "" "5<" {}] - [:n "" "5>" {}] + [:n : :+ {}] + [:n : :- {}] + [:n "" :5< {}] + [:n : :5> {}] ;; Visual ;; ;; Stay in indent mode [:v "<" : :zz {}] [:n : :zz {}] - ;; Close window - [:n :Q ":q" {}] ;; Remove highlighted search [:n : :nohlsearch {}] ;; Force refresh - [:n :mj ":e" {:desc :Refresh}] - ;; Remap jump next - [:n : : {}]]) + [:n :mj ":e" {:desc :Refresh}]]) (each [_ mapping (ipairs mappings)] (match mapping -- cgit v1.2.3-70-g09d2