Permalink
Browse files

Version 1.2.3: Insert mode is default in YATE buffer.

  • Loading branch information...
madevgeny authored and vim-scripts committed Jul 14, 2012
1 parent 7bdd74d commit dff5bc7ef7dd928250ed7a0309deb1fa2c87fbd2
Showing with 11 additions and 5 deletions.
  1. +6 −2 README
  2. +5 −3 plugin/yate.vim
View
8 README
@@ -2,14 +2,18 @@ This is a mirror of http://www.vim.org/scripts/script.php?script_id=2068
This plugin makes search in tags more convenient. It holds query and search result in one buffer for faster jump to desired tag.
+Source code is also available on bitbucket: https://bitbucket.org/madevgeny/yate.
+
Usage:
-Command :YATE toggles visibility of search buffer.
-Parameter g:YATE_window_height sets height of search buffer. Default = 15
+Command :YATE toggles visibility of search buffer which will be closed after tag was selected.
+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.
+Parameter g:YATE_window_height sets height of search buffer. Default = 15.
Parameter g:YATE_strip_long_paths enables(1)/disables(0) cutting of long file paths. Default = 1.
Parameter g:YATE_enable_real_time_search enables(1)/disables(0) as-you-type search. Default = 1.
Parameter g:YATE_min_symbols_to_search sets search string length threshold after which as-you-type search will start. Default = 4.
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.
Parameter g:YATE_history_size sets the maximum number of stored search queries in history. Default = 10.
+Parameter g:YATE_clear_search_string controls clearing of search string on next YATE buffer invocation. Default = 1.
To get list of matching tags set cursor on string containing expression
to search (in YATE buffer) then press <Tab> or <Enter>, never mind if
View
@@ -19,7 +19,7 @@
" Installation: Just drop this file in your plugin directory.
"
" Usage: Command :YATE toggles visibility of search buffer.
-" Parameter g:YATE_window_height sets height of search buffer. Default = 15
+" Parameter g:YATE_window_height sets height of search buffer. Default = 15.
" Parameter g:YATE_strip_long_paths enables(1)/disables(0) cutting of long file paths. Default = 1.
" Parameter g:YATE_enable_real_time_search enables(1)/disables(0) as-you-type search. Default = 1.
" Parameter g:YATE_min_symbols_to_search sets search string length threshold after
@@ -45,9 +45,10 @@
" search string. Autocompletion using history also works by
" <Ctrl-X><Ctrl-U>.
"
-" Version: 1.2.2
+" Version: 1.2.3
"
-" ChangeLog: 1.2.2: Fixed cleaning of search string in some cases.
+" ChangeLog: 1.2.3: Insert mode is default in YATE buffer.
+" 1.2.2: Fixed cleaning of search string in some cases.
"
" 1.2.1: History menu (<Ctrl-H>) also works in normal mode.
"
@@ -395,6 +396,7 @@ fun! <SID>ToggleTagExplorerBuffer()
setlocal buftype=nofile
setlocal noswapfile
+ setlocal insertmode
if !exists("s:first_time")
let s:user_line=''

0 comments on commit dff5bc7

Please sign in to comment.