From f44f7720f8a37af3d356b2f75fce5809db0984cb Mon Sep 17 00:00:00 2001 From: sefidel Date: Mon, 4 Sep 2023 17:43:44 +0900 Subject: feat(keymaps): add helix-like line movements --- fnl/nvrc/keymaps.fnl | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'fnl/nvrc') diff --git a/fnl/nvrc/keymaps.fnl b/fnl/nvrc/keymaps.fnl index 9356c61..bdd6968 100644 --- a/fnl/nvrc/keymaps.fnl +++ b/fnl/nvrc/keymaps.fnl @@ -70,3 +70,10 @@ (map! [n] :k (vim.lsp.buf.hover)) (map! [n] :b ((. (require :dap) :toggle_breakpoint))) + +;; Helix-like movements +(map! [nv] :gh :0) +(map! [nv] :gl :$) +(map! [nv] :gs :_) +(map! [nv] :ge :G) +(map! [nv] :g. "g;") -- cgit 1.4.1