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:
Jeetaditya Chatterjee 2022-05-26 23:44:39 +01:00
parent de052a7a92
commit e1056f0053
No known key found for this signature in database
GPG key ID: 09D54CECD2132B91

View file

@ -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")))