NrrwRgn
NrrwRgn copied to clipboard
not able to write NR window to a file?
in NR window, I want to write the content to a file, but nothing happened... is this expected?
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
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: @.***>
Sorry, I am not planning to make this change.