vim: Add indent text object (#21121)

Added support for the popular vim
[indent-text-object](https://github.com/michaeljsmith/vim-indent-object).
This is especially useful in indentation-sensitive languages like
python.

Release Notes:

- vim: Added `vii`, `vai` and `vaI` for selecting
[indent-text-object](https://github.com/michaeljsmith/vim-indent-object)s.
This commit is contained in:
vultix
2024-11-26 12:54:36 -08:00
committed by GitHub
parent 64708527e7
commit 597e5f8304
2 changed files with 168 additions and 5 deletions
+3 -1
View File
@@ -381,7 +381,9 @@
"shift-b": "vim::CurlyBrackets",
"<": "vim::AngleBrackets",
">": "vim::AngleBrackets",
"a": "vim::Argument"
"a": "vim::Argument",
"i": "vim::IndentObj",
"shift-i": ["vim::IndentObj", { "includeBelow": true }]
}
},
{