Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 31 lines (23 sloc) 1.975 kB
7864e92 @madevgeny Version 0.9: Initial upload
madevgeny authored
1 This is a mirror of http://www.vim.org/scripts/script.php?script_id=2068
2
3 This plugin makes search in tags more convenient. It holds query and search result in one buffer for faster jump to desired tag.
4
dff5bc7 @madevgeny Version 1.2.3: Insert mode is default in YATE buffer.
madevgeny authored
5 Source code is also available on bitbucket: https://bitbucket.org/madevgeny/yate.
6
7864e92 @madevgeny Version 0.9: Initial upload
madevgeny authored
7 Usage:
dff5bc7 @madevgeny Version 1.2.3: Insert mode is default in YATE buffer.
madevgeny authored
8 Command :YATE toggles visibility of search buffer which will be closed after tag was selected.
9 Command :YATEStationary toggles visibility of search buffer which will not be closed after tag is selected, instead cursor remains in YATE buffer to allow select another tag.
10 Parameter g:YATE_window_height sets height of search buffer. Default = 15.
7864e92 @madevgeny Version 0.9: Initial upload
madevgeny authored
11 Parameter g:YATE_strip_long_paths enables(1)/disables(0) cutting of long file paths. Default = 1.
12 Parameter g:YATE_enable_real_time_search enables(1)/disables(0) as-you-type search. Default = 1.
13 Parameter g:YATE_min_symbols_to_search sets search string length threshold after which as-you-type search will start. Default = 4.
14 Parameter g:YATE_max_matches_to_show sets the maximum number of matches to display. If it's negative than all lines will be shown. Default = -1.
15 Parameter g:YATE_history_size sets the maximum number of stored search queries in history. Default = 10.
dff5bc7 @madevgeny Version 1.2.3: Insert mode is default in YATE buffer.
madevgeny authored
16 Parameter g:YATE_clear_search_string controls clearing of search string on next YATE buffer invocation. Default = 1.
7864e92 @madevgeny Version 0.9: Initial upload
madevgeny authored
17
18 To get list of matching tags set cursor on string containing expression
19 to search (in YATE buffer) then press <Tab> or <Enter>, never mind if
20 you are in normal or insert mode.
21
22 To open tag location set cursor on string with desired tag and
23 press <Enter> or double click left mouse button on this string,
24 never mind if you are in normal or insert mode.
25
26 To open tag in new tab press <Ctrl-Enter>, in new horizontal
27 splitted buffer <Shift-Enter>, in new vertical splitted buffer <Ctrl-Shift-Enter>.
28
29 To get queries history press <Ctrl-H> in insert or normal mode in
30 search string. Autocompletion using history also works by <Ctrl-X><Ctrl-U>.
Something went wrong with that request. Please try again.