about summary refs log tree commit diff
path: root/fnl/nvrc/packs
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2024-05-12 23:06:20 +0900
committersefidel <contact@sefidel.net>2024-05-12 23:06:30 +0900
commited3530012c025b856a87f84ba4ba77a3d3e735c8 (patch)
tree76114cbbe822926eefcdf6625a5c4e08410d7d56 /fnl/nvrc/packs
parent7b5df96bd374ac0feb86272c0f6fceb5e6177039 (diff)
downloadnvimrc-ed3530012c025b856a87f84ba4ba77a3d3e735c8.tar.gz
nvimrc-ed3530012c025b856a87f84ba4ba77a3d3e735c8.zip
feat(packs/treesitter): support asdf as alternative to hjkl on swap
An attempt to solve keybind conflict between terminal multiplexers.
Diffstat (limited to 'fnl/nvrc/packs')
-rw-r--r--fnl/nvrc/packs/treesitter.fnl8
1 files changed, 6 insertions, 2 deletions
diff --git a/fnl/nvrc/packs/treesitter.fnl b/fnl/nvrc/packs/treesitter.fnl
index 6537532..5f85058 100644
--- a/fnl/nvrc/packs/treesitter.fnl
+++ b/fnl/nvrc/packs/treesitter.fnl
@@ -36,9 +36,13 @@
                                          :im "@call.inner"}}
                       :swap {:enable true
                              :swap_next {:<M-l> "@parameter.inner"
-                                         :<M-j> "@function.outer"}
+                                         :<M-f> "@parameter.inner"
+                                         :<M-j> "@function.outer"
+                                         :<M-s> "@function.outer"}
                              :swap_previous {:<M-h> "@parameter.inner"
-                                             :<M-k> "@function.outer"}}
+                                             :<M-a> "@parameter.inner"
+                                             :<M-k> "@function.outer"
+                                             :<M-d> "@function.outer"}}
                       :move {:enable true
                              :set_jumps true
                              :goto_next_start {"]f" "@function.outer"