chrisbra / NrrwRgn

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

Question: Is there a way to include context in multi? #82

Open ilkermutlu opened 4 years ago

ilkermutlu commented 4 years ago

:NRP and :NRM work perfectly.

However, I think it could be useful to have some context in the narrowed buffer, for example showing n number of surrounding lines just like :g/<pattern>/z#.2 would show 2 lines before and 2 lines after the matching line.

Would it be possible to achieve that kind of functionality in the plugin's current state?

chrisbra commented 1 year ago

not currently unfortunately