home: vim: add statement objects/moves

And document it.
This commit is contained in:
Bruno BELANYI 2022-02-26 19:52:40 +01:00
parent 56554f1a7a
commit 8b84ab8625
2 changed files with 6 additions and 0 deletions

View file

@ -24,6 +24,7 @@ ts_config.setup({
["af"] = "@function.outer",
["if"] = "@function.inner",
["ak"] = "@comment.outer",
["aS"] = "@statement.outer",
},
},
move = {
@ -32,6 +33,7 @@ ts_config.setup({
set_jumps = true,
goto_next_start = {
["]m"] = "@function.outer",
["]S"] = "@statement.outer",
["]]"] = "@class.outer",
},
goto_next_end = {
@ -40,6 +42,7 @@ ts_config.setup({
},
goto_previous_start = {
["[m"] = "@function.outer",
["[S"] = "@statement.outer",
["[["] = "@class.outer",
},
goto_previous_end = {