News for hackers. Stuff that matters.
Re:Neovim 0.5 is overpowering by SpaceNugget on Wednesday May 26, 2021 @03:11PM (#27294778)
Vim uses text objects for that kind of thing, t being the tag text object. `dat` deletes the JSX tag enclosing the cursor, `cit` deletes the contents of the tag and leaves you in insert mode, etc. Matchit (included in neovim) can also be configured to have % match tags as well as the default brackets/parens. LSP text objects are also available for more language specific structural editing.

There are no comments on this comment yet.