chrisbra / NrrwRgn

A Narrow Region Plugin for vim (like Emacs Narrow Region)
http://www.vim.org/scripts/script.php?script_id=3075
675 stars 25 forks source link

ZZ or ZQ can't return to original buffer when opening narrowed buffer in current window #84

Open slbb opened 3 years ago

slbb commented 3 years ago

When narrowed buffer being opened in split window, ZZ and ZQ can return to original buffer. When narrowed buffer being opened in current window via :NR! or :NW!, only :bd[!], :q[!] can return to original buffer. but ZZ and ZQ ( also :x, :wq[!]) will quit vim instead of returning to original buffer.