-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathREADME
More file actions
39 lines (30 loc) · 1.43 KB
/
README
File metadata and controls
39 lines (30 loc) · 1.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
This is a mirror of http://www.vim.org/scripts/script.php?script_id=732
Required: Vim 6.2
Usage:
:call FoldDigest()
Transform all folds in the current buffer into digest tree form, and
show it in another buffer. The buffer is called FOLDDIGEST. It shows
not only all fold start positions, but also a tree depended on original
folds hierarchy.
In a FOLDDIGEST, you can move around the cursor, and when type <CR> jump
to fold at under it. If you enter FOLDDIGEST window from other windows,
when depended buffer is availabeled, it will be synchronized
automatically. If you want to force synchronize, type "r" in a
FOLDDIGEST buffer.
Options:
'folddigest_options'
string (default "")
Set string flag which you need. If you want to use more than two,
join by comma.
flexnumwidth Narrow line number width as possible.
nofoldclose don't close folds after ":call FoldDigest()".
vertical Use :vsplit for FOLDDIGEST. (default :split)
'folddigest_size'
number (default 0)
FOLDDIGEST window size. When 'folddigest_options' has "vertical"
flag, this value is interpretted as window height, and doesn't then
as window width. If zero was specified height/width become half of
current window.
ex:
:let folddigest_options = "vertical,flexnumwidth"
:let folddigest_size = 30