-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
fin.txt
92 lines (63 loc) · 2.5 KB
/
fin.txt
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
*fin.txt* Filter buffer content in-place without modification
Author: Alisue <lambdalisue@hashnote.net>
License: MIT license
=============================================================================
CONTENTS *fin-contents*
INTRODUCTION |fin-introduction|
USAGE |fin-usage|
INTERFACE |fin-interface|
VARIABLE |fin-variable|
MAPPING |fin-mapping|
COMMAND |fin-command|
FUNCTION |fin-function|
HIGHLIGHT |fin-highlight|
=============================================================================
INTRODUCTION *fin-introduction*
*fin.vim* (fin) is a plugin to filter buffer content in-place without
modification. It's written in a pure Vim script.
=============================================================================
USAGE *fin-usage*
Start filtering the buffer content by |:Fin| command
>
:Fin
<
Use the {after} argument to change the behavior after filtering.
For example, the following command sequence will 1) Open |quickfix| window, 2)
Filter quickfix items, 3) Jumps to the selected item, 4) Close quickfix window
>
:botright copen | Fin -after=\<CR> | cclose
<
See |:Fin| for more details.
=============================================================================
INTERFACE *fin-interface*
-----------------------------------------------------------------------------
VARIABLE *fin-variable*
TBW
-----------------------------------------------------------------------------
MAPPING *fin-mapping*
*<Plug>(fin-line-prev)* <C-t>
Go to the previous line.
*<Plug>(fin-line-next)* <C-g>
Go to the next line.
*<Plug>(fin-matcher-perv)*
Switch to the previous matcher.
*<Plug>(fin-matcher-next)* <C-^>/<C-6>
Switch to the next matcher.
-----------------------------------------------------------------------------
COMMAND *fin-command*
*:Fin*
:Fin [-after|-After={after}] [-cancel|-Cancel={cancel}] [-matcher={matcher}] [{query}]
Start filtering the buffer content.
The {query} is the initial value of the prompt.
The {matcher} is the initial matcher name.
Note that the command can be followed by a '|' and another command.
-----------------------------------------------------------------------------
FUNCTION *fin-function*
*fin#version()*
fin#version()
Show fin version itself.
-----------------------------------------------------------------------------
HIGHLIGHT *fin-highlight*
TBW
=============================================================================
vim:tw=78:fo=tcq2mM:ts=8:ft=help:norl