Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

$VIMRUNTIME/doc/options.txt gets open with NarrowRegion on visually selected lines #21

AguirreIF opened this Issue Sep 16, 2013 · 0 comments


None yet
1 participant

After selecting some lines and executing :'<,'>NarrowRegion on them, the first time $VIMRUNTIME/doc/options.txt gets open in a split window. I can't understand why, how can I disable that?


@chrisbra chrisbra closed this in 45952c0 Sep 16, 2013

vim-scripts added a commit to vim-scripts/NrrwRgn that referenced this issue Mar 28, 2014

Version 32
- hooks could corrupt the narrowed buffer, if it wasn't closed (reported by  jszakemeister chrisbra/NrrwRgn#19, thanks!)- Don't parse /doc/options.txt for finding out buffer-local options  (reported by AguirreIF chrisbra/NrrwRgn#21,  thanks!), instead include a fix set of option names to set when opening the  narrowed buffer.- Switching buffers in the original narrowed buffer, may confuse NrrwRgn.- Code cleanup (no more separate functions for visual and normal mode)- fix issue 22 (characterwise narrowing was brocken in last commit, reported  by Matthew Boehm in chrisbra/NrrwRgn#22, thanks!)- in characterwise visual selection, trailing \n is not stripped when writing  (reported by Matthew Boehm in https://github.com/chrisbra/NrrwRgn/23,  thanks!)- highlighting was wrong for characterwise visual selections- update original window for multi narrowed regions (  https://github.com/chrisbra/NrrwRgn/24, reported by Dane Summers, thanks!),  use the g:nrrw_rgn_update_orig_win variable to enable- error when narrowed window was moved to new tab and trying to quit  (https://github.com/chrisbra/NrrwRgn/2, reported by Mario Ricalde, thanks!)- better default names for the narrowed window  (https://github.com/chrisbra/Nrrwrgn/28, reported by Mario Ricalde, thanks!)- when setting g:nrrw_rgn_write_on_sync the original file will be saved,  whenever the narrowed window is written back  (https://github.com/chrisbra/26, reported by Mario Ricalde, thanks!)- Some more error handling when using |:WidenRegion|- Make sure highlighting is removed when using |:WidenRegion|(automatically uploaded)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment