about summary refs log tree commit diff
path: root/fnl
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-09-04 17:43:44 +0900
committersefidel <contact@sefidel.net>2023-09-04 17:43:44 +0900
commitf44f7720f8a37af3d356b2f75fce5809db0984cb (patch)
tree2c3262719f750ab810e84db9316982976c4ef62a /fnl
parente6a83f433112874b1c9da502849bbf4a085421c0 (diff)
downloadnvimrc-f44f7720f8a37af3d356b2f75fce5809db0984cb.tar.gz
nvimrc-f44f7720f8a37af3d356b2f75fce5809db0984cb.zip
feat(keymaps): add helix-like line movements
Diffstat (limited to 'fnl')
-rw-r--r--fnl/nvrc/keymaps.fnl7
1 files changed, 7 insertions, 0 deletions
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] :<leader>k (vim.lsp.buf.hover))
 (map! [n] :<leader>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;")