not able to write NR window to a file?
pinggit opened this issue · 3 comments
pinggit commented
in NR window, I want to write the content to a file, but nothing happened...
is this expected?
chrisbra commented
I think so. I think you need to use :NRNoSyncOnWrite
to make it write like an ordinary buffer. See the help:
Lines 130 to 137 in e027db9
pinggit commented
thanks for confirming the issue.Is it possible the default behavior can be change in such a way that when write without a file name it syncs to the original buffer, otherwise just do the normal file write, which maybe is more convenient? Sent from my iPhoneOn Mar 17, 2024, at 16:33, Christian Brabandt ***@***.***> wrote:
I think so. I think you need to use :NRNoSyncOnWrite to make it write like an ordinary buffer. See the help: https://github.com/chrisbra/NrrwRgn/blob/e027db9d94f94947153cd7b5ac9abd04371ab2b0/doc/NarrowRegion.txt#L130-L137
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
chrisbra commented
Sorry, I am not planning to make this change.