about summary refs log tree commit diff
path: root/fnl/nvrc/packs
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2024-05-18 16:42:15 +0900
committersefidel <contact@sefidel.net>2024-05-18 16:42:15 +0900
commita4bfd4a5635983d4bcc1c4cc65ceec990b125102 (patch)
tree5c06cce6139ef12c8627c55f30333986aa291248 /fnl/nvrc/packs
parent23639cace897c0609fac2b7c12fa9a1739b2aba0 (diff)
downloadnvimrc-a4bfd4a5635983d4bcc1c4cc65ceec990b125102.tar.gz
nvimrc-a4bfd4a5635983d4bcc1c4cc65ceec990b125102.zip
fix(keymaps): fix leap conflicting with helix-like movement
Diffstat (limited to 'fnl/nvrc/packs')
-rw-r--r--fnl/nvrc/packs/leap.fnl5
1 files changed, 3 insertions, 2 deletions
diff --git a/fnl/nvrc/packs/leap.fnl b/fnl/nvrc/packs/leap.fnl
index 28220a8..a395447 100644
--- a/fnl/nvrc/packs/leap.fnl
+++ b/fnl/nvrc/packs/leap.fnl
@@ -1,3 +1,4 @@
-(local {: add_default_mappings} (require :leap))
+(import-macros {: map!} :nvrc.macro.keymap)
 
-(add_default_mappings)
+(map! [nxo] :s "<Plug>(leap-forward)")
+(map! [nxo] :S "<Plug>(leap-backward)")