narrow : Emulate Emacs' narrowing feature
script karma |
Rating 98/34,
Downloaded by 3422 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Kana Natsuno |
|
script type |
utility |
|
description |
*narrow* is a Vim plugin to emulate Emacs' narrowing feature.
From GNU Emacs Manual:
Narrowing means focusing in on some portion of the buffer, making the
rest temporarily inaccessible. The portion which you can still get to
is called the accessible portion. Canceling the narrowing, which makes
the entire buffer once again accessible, is called widening. The
bounds of narrowing in effect in a buffer are called the buffer's
restriction.
Narrowing can make it easier to concentrate on a single subroutine or
paragraph by eliminating clutter. It can also be used to limit the
range of operation of a replace command or repeating keyboard macro.
Note that there are some differences from the original behavior.
See |narrow-bugs| for the detail.
Requirements:
- Vim 7.0 or later
Latest version:
http://github.com/kana/vim-narrow
Document in HTML format:
http://kana.github.com/config/vim/narrow.html |
|
install details |
... |
|
script versions (upload new version)
Click on the package to download.
vim-narrow-0.2.1.zip |
0.2.1 |
2009-02-28 |
7.0 |
Kana Natsuno |
- Fix minor bugs: - |:Widen| raises an error for buffers without fold. - |:Narrow| doesn't hide lines smaller than 'foldminlines'. |
vim-narrow-0.2.zip |
0.2 |
2007-12-28 |
7.0 |
Kana Natsuno |
- Fix |:Narrow| and |:Widen| not to use temporary files. Now |:Widen| correctly works even if the target buffer is |:Narrow|'ed by two or more Vim processes.
- Modify |:Narrow| to |zz| after narrowing for visibility.
- Modify |:Narrow| to include all lines of closed folds in [range]. |
vim-narrow-0.1.zip |
0.1 |
2007-12-27 |
7.0 |
Kana Natsuno |
- Fix the bug that 'foldenable' is not set after :Narrow.
- Fix the bug that the cursor is moved to somewhere after :Widen.
- Add g:narrow_allow_overridingp. |
vim-narrow-0.0.zip |
0.0 |
2007-12-15 |
7.0 |
Kana Natsuno |
Initial upload |
ip used for rating: 142.132.191.50
|