Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Jonas Kramer
committed
Nov 17, 2008
1 parent
35661cf
commit ba11368
Showing
2 changed files
with
57 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
*narrow.txt* Plugin to emulate emacs' narrowing feature. | ||
|
||
Version 0.1 | ||
Script ID: 2097 | ||
Copyright (C) 2008 Jonas Kramer <jkramer@nex.scrapping.cc> | ||
License: Artistic License 2.0 | ||
|
||
============================================================================== | ||
CONTENTS *narrow-contents* | ||
|
||
Usage |narrow-usage| | ||
Functions |narrow-functions| | ||
Bugs |narrow-bugs| | ||
Changelog |narrow-changelog| | ||
|
||
|
||
============================================================================== | ||
USAGE *narrow-usage* | ||
|
||
*:Narrow* | ||
:[range]Narrow | ||
Narrow to the given [range]. | ||
|
||
*:Widen* | ||
:Widen | ||
Restore the original view, insert the hidden text before and after the | ||
narrowed region. | ||
|
||
------------------------------------------------------------------------------ | ||
FUNCTIONS *narrow-functions* | ||
|
||
*narrow#Narrow()* | ||
narrow#Narrow({regionBegin}, {regionEnd}) | ||
The function behind the |:Narrow| command. The parameters are the | ||
numbers of the first and the last line of the range to zoom into. | ||
|
||
*narrow#Widen()* | ||
narrow#Widen() | ||
The function behind |:Widen|. Does the same thing. | ||
|
||
|
||
============================================================================== | ||
BUGS *narrow-bugs* | ||
|
||
- Cannot narrow different regions for the same buffer in 2 or more windows. | ||
- Doesn't correctly work with buffers that have their own BufWriteCmd. | ||
- Undo operations may break |:Widen| if the |:Narrow| command is undone. | ||
|
||
|
||
============================================================================== | ||
CHANGELOG *narrow-changelog* | ||
|
||
0.1 2008-11-17 | ||
- First release. | ||
|
||
============================================================================== | ||
vim:tw=78:ts=8:ft=help:norl:fen:fdl=0:fdm=marker: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters