mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
tweak(tree-sitter): rebind conditional nav key
Move the conditional bindings from `i` to `v` this is to reflect the text object, the thinking being if users have to learn one anti mnemonic then it should reflect all cases to make it easier to swallow.
This commit is contained in:
@ -47,7 +47,7 @@
|
||||
"F" (+tree-sitter-goto-textobj "call.outer" t)
|
||||
"C" (+tree-sitter-goto-textobj "class.outer" t)
|
||||
"c" (+tree-sitter-goto-textobj "comment.outer" t)
|
||||
"i" (+tree-sitter-goto-textobj "conditional.outer" t)
|
||||
"v" (+tree-sitter-goto-textobj "conditional.outer" t)
|
||||
"l" (+tree-sitter-goto-textobj "loop.outer" t))
|
||||
(:map +tree-sitter-goto-next-map
|
||||
"a" (+tree-sitter-goto-textobj "parameter.outer")
|
||||
@ -55,7 +55,7 @@
|
||||
"F" (+tree-sitter-goto-textobj "call.outer")
|
||||
"C" (+tree-sitter-goto-textobj "class.outer")
|
||||
"c" (+tree-sitter-goto-textobj "comment.outer")
|
||||
"i" (+tree-sitter-goto-textobj "conditional.outer")
|
||||
"v" (+tree-sitter-goto-textobj "conditional.outer")
|
||||
"l" (+tree-sitter-goto-textobj "loop.outer")))
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user