Select between angle brackets

#1

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

2 Likes
#2

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 → )(
#3

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

#4

@robertmeta Nice gem

#5
1 Like