Select between angle brackets

map global object h 'c<gt>,<lt><ret>' -docstring "select in the (html) angle brackets"

2 Likes

This one is interesting because it could be generalized to other pair objects.

Kakoune handles the most common case when you want to select inside but has no direct solution to select between.

The difference between these 2 notions, is the order of open/close:

  • inside → ()
  • between → )(

True, I did it for >< and whitespace, but it would be generally applicable.

@robertmeta Nice gem

1 Like