Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Moving the Narrow Region to a separate tab makes it unsavable #2

Closed
vanschelven opened this Issue · 7 comments

3 participants

@vanschelven

If I create a narrow region with :NR and then separate that region out to a new tab with

^w T

and then try to save that narrow region with

:wq

I get the message:

NarrowRegion: Original buffer does no longer exist! Aborting!

This happens for me on version 0.17 (since 0.18 is marked as an experiment)

@chrisbra
Owner
@vanschelven

Hi Christian,

That should be quick enough... I just started using the plugin today.
Your work is very much appreciated.

regards,
Klaas

@chrisbra
Owner

Please check the current version. That should fix your issue and work with tabs correctly.

@vanschelven

It indeed seems to fix the problem. Much appreciated!

@MarioRicalde

Seems like this issue has somehow resurfaced, :w works fine, but when doing :q I'm getting this error:

Error detected while processing function <SNR>279_WriteNrrwRgn:
line   19:
E121: Undefined variable: b:orig_buf
E116: Invalid arguments for function bufwinnr(b:orig_buf)
E15: Invalid expression: bufwinnr(b:orig_buf)    
@chrisbra
Owner
@MarioRicalde

Fixed again!

Thanks!

@chrisbra chrisbra referenced this issue from a commit
@bling bling fixes #2 4c51377
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.