Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Character-wise regions? #22
I'm interested in using NrrwRgn to edit python docstrings that are RestructuredText. An example would be:
I would not want the triple-quotes to be included in the region as this could mess up the syntax highlighting for the region.
I imagine switching everything to not be linewise might be too complicated an edit for a limited use case, but wanted to get your thoughts. I suppose I might be able to use the hooks to delete the quotes on enter and add them back in on write instead...
On Mon, December 9, 2013 23:52, Matthew Boehm wrote:
You could of course try to work with hooks (see :h NR-hooks), but wouldn't
That does not seem to work as expected. I've recorded a small screencast that shows what happens when I highlight text and hit
On Di, 10 Dez 2013, Matthew Boehm wrote:
Looks like you used line-wise visual selection. Did you try to use a
Input - Output - Kaputt
On Tue, December 10, 2013 15:39, Matthew Boehm wrote:
Indeed, it looks like you discovered a bug in the last commit.
I must have been using the previous version accidently.