martanne / vis

A vi-like editor based on Plan 9's structural regular expressions
Other
4.23k stars 256 forks source link

Number Registers #850

Open jeremybobbin opened 4 years ago

jeremybobbin commented 4 years ago

When searching with the x command, match registers are populated with the results of the last match. When searching with /, however, none of the of the match registers are populated.

Would you prefer to see all match registers populated on calls to text_search_(forward|backward), or would you prefer to see the matches be evaluated when register_slot_get is called?

By match registers, I mean registers [0-9&].