New features
- vim-surround commands.
ys{motion}{char}adds,cs{old}{new}changes, andds{char}deletes surrounding brackets or quotes. A which-key panel pops up afterys,cs, anddsso you don’t need to memorise the surround character set. See Keybindings. gc/gbcomment operators.gc{motion}toggles line comments andgb{motion}toggles block comments. Both honour counts, text objects, and multi-cursor fan-out. The existingSpace cshortcut still toggles the current line.- More text objects. Added
aW/iW(WORD — whitespace-delimited),a`/i`(backtick string),a</i<(angle bracket), andat/it(tree-sitter type) to the operator-pending object set. - Tree-sitter text objects for 14 languages. Ships
textobjects.scmqueries for the most common languages, so structural objects (functions, classes, parameters) work out of the box once the grammar is installed.
Updates
- Matching-pair highlight covers quotes and angle brackets. The same highlight that marks the matching
(/[/{now lights up matching",',`,<, and>under the cursor.