Anonymous avatar Anonymous committed 8d2c84a

removed unused option.

Comments (0)

Files changed (2)

doc/fuzzyfinder.txt

 
 You can set options via |g:FuzzyFinderOptions| which is a |Dictionary|.
 
-Be sure to declare |Dictionaries| for each mode in |g:FuzzyFinderOptions|
+Be sure to allocate |Dictionaries| to each mode in |g:FuzzyFinderOptions|
 before set variables. See |fuzzyfinder-vimrc-sample| also.
 
                     *fuzzyfinder-options-all-mode* *g:FuzzyFinderOptions.Base*
 VIMRC EXAMPLE                                       *fuzzyfinder-vimrc-sample*
 
 >
-        let g:FuzzyFinderOptions = { 'Base':{}, 'Buffer':{}, 'File':{}, 'Dir':{}, 'MruFile':{}, 'MruCmd':{}, 'Bookmark':{}, 'Tag':{}, 'TaggedFile':{}}
+        let g:FuzzyFinderOptions = { 'Base':{}, 'Buffer':{}, 'File':{}, 'Dir':{},
+              \                      'MruFile':{}, 'MruCmd':{}, 'Bookmark':{},
+              \                      'Tag':{}, 'TaggedFile':{},
+              \                      'CallbackFile':{}, 'CallbackItem':{}, }
         let g:FuzzyFinderOptions.Base.abbrev_map  = {
               \   '^v|' : map(filter(split(&runtimepath, ','), 'v:val !~ "after$"'), 'v:val . "/**/"'),
               \ }

plugin/fuzzyfinder.vim

       \                      'Tag':{}, 'TaggedFile':{},
       \                      'CallbackFile':{}, 'CallbackItem':{}, }
 "-----------------------------------------------------------------------------
-let g:FuzzyFinderOptions.Base.key_open = '<CR>'
-let g:FuzzyFinderOptions.Base.key_open_split = '<C-j>'
-let g:FuzzyFinderOptions.Base.key_open_vsplit = '<C-k>'
-let g:FuzzyFinderOptions.Base.key_open_tab = '<C-l>'
-let g:FuzzyFinderOptions.Base.key_next_mode = '<C-t>'
-let g:FuzzyFinderOptions.Base.key_prev_mode = '<C-y>'
-let g:FuzzyFinderOptions.Base.key_ignore_case = '<C-g><C-g>'
-let g:FuzzyFinderOptions.Base.info_file = '~/.vimfuzzyfinder'
-let g:FuzzyFinderOptions.Base.min_length = 0
-let g:FuzzyFinderOptions.Base.abbrev_map = {}
-let g:FuzzyFinderOptions.Base.ignore_case = 1
-let g:FuzzyFinderOptions.Base.time_format = '(%x %H:%M:%S)'
-let g:FuzzyFinderOptions.Base.learning_limit = 100
+let g:FuzzyFinderOptions.Base.key_open          = '<CR>'
+let g:FuzzyFinderOptions.Base.key_open_split    = '<C-j>'
+let g:FuzzyFinderOptions.Base.key_open_vsplit   = '<C-k>'
+let g:FuzzyFinderOptions.Base.key_open_tab      = '<C-l>'
+let g:FuzzyFinderOptions.Base.key_next_mode     = '<C-t>'
+let g:FuzzyFinderOptions.Base.key_prev_mode     = '<C-y>'
+let g:FuzzyFinderOptions.Base.key_ignore_case   = '<C-g><C-g>'
+let g:FuzzyFinderOptions.Base.info_file         = '~/.vimfuzzyfinder'
+let g:FuzzyFinderOptions.Base.min_length        = 0
+let g:FuzzyFinderOptions.Base.abbrev_map        = {}
+let g:FuzzyFinderOptions.Base.ignore_case       = 1
+let g:FuzzyFinderOptions.Base.time_format       = '(%x %H:%M:%S)'
+let g:FuzzyFinderOptions.Base.learning_limit    = 100
 let g:FuzzyFinderOptions.Base.enumerating_limit = 100
-let g:FuzzyFinderOptions.Base.max_menu_width = 80
-let g:FuzzyFinderOptions.Base.lasting_cache = 1
-let g:FuzzyFinderOptions.Base.migemo_support = 0
+let g:FuzzyFinderOptions.Base.max_menu_width    = 80
+let g:FuzzyFinderOptions.Base.lasting_cache     = 1
+let g:FuzzyFinderOptions.Base.migemo_support    = 0
 "-----------------------------------------------------------------------------
-let g:FuzzyFinderOptions.Buffer.mode_available = 1
-let g:FuzzyFinderOptions.Buffer.prompt = '>Buffer>'
+let g:FuzzyFinderOptions.Buffer.mode_available   = 1
+let g:FuzzyFinderOptions.Buffer.prompt           = '>Buffer>'
 let g:FuzzyFinderOptions.Buffer.prompt_highlight = 'Question'
-let g:FuzzyFinderOptions.Buffer.smart_bs = 1
-let g:FuzzyFinderOptions.Buffer.switch_order = 10
-let g:FuzzyFinderOptions.Buffer.reuse_window = 1
-let g:FuzzyFinderOptions.Buffer.mru_order = 1
+let g:FuzzyFinderOptions.Buffer.smart_bs         = 1
+let g:FuzzyFinderOptions.Buffer.switch_order     = 10
+let g:FuzzyFinderOptions.Buffer.reuse_window     = 1
+let g:FuzzyFinderOptions.Buffer.mru_order        = 1
 "-----------------------------------------------------------------------------
-let g:FuzzyFinderOptions.File.mode_available = 1
-let g:FuzzyFinderOptions.File.prompt = '>File>'
+let g:FuzzyFinderOptions.File.mode_available   = 1
+let g:FuzzyFinderOptions.File.prompt           = '>File>'
 let g:FuzzyFinderOptions.File.prompt_highlight = 'Question'
-let g:FuzzyFinderOptions.File.smart_bs = 1
-let g:FuzzyFinderOptions.File.switch_order = 20
-let g:FuzzyFinderOptions.File.reuse_window = 1
-let g:FuzzyFinderOptions.File.excluded_path = '\v\~$|\.o$|\.exe$|\.bak$|\.swp$'
+let g:FuzzyFinderOptions.File.smart_bs         = 1
+let g:FuzzyFinderOptions.File.switch_order     = 20
+let g:FuzzyFinderOptions.File.reuse_window     = 1
+let g:FuzzyFinderOptions.File.excluded_path    = '\v\~$|\.o$|\.exe$|\.bak$|\.swp$'
 "-----------------------------------------------------------------------------
-let g:FuzzyFinderOptions.Dir.mode_available = 1
-let g:FuzzyFinderOptions.Dir.prompt = '>Dir>'
+let g:FuzzyFinderOptions.Dir.mode_available   = 1
+let g:FuzzyFinderOptions.Dir.prompt           = '>Dir>'
 let g:FuzzyFinderOptions.Dir.prompt_highlight = 'Question'
-let g:FuzzyFinderOptions.Dir.smart_bs = 1
-let g:FuzzyFinderOptions.Dir.switch_order = 30
-let g:FuzzyFinderOptions.Dir.excluded_path = ''
+let g:FuzzyFinderOptions.Dir.smart_bs         = 1
+let g:FuzzyFinderOptions.Dir.switch_order     = 30
+let g:FuzzyFinderOptions.Dir.excluded_path    = ''
 "-----------------------------------------------------------------------------
-let g:FuzzyFinderOptions.MruFile.mode_available = 1
-let g:FuzzyFinderOptions.MruFile.prompt = '>MruFile>'
+let g:FuzzyFinderOptions.MruFile.mode_available   = 1
+let g:FuzzyFinderOptions.MruFile.prompt           = '>MruFile>'
 let g:FuzzyFinderOptions.MruFile.prompt_highlight = 'Question'
-let g:FuzzyFinderOptions.MruFile.smart_bs = 1
-let g:FuzzyFinderOptions.MruFile.switch_order = 40
-let g:FuzzyFinderOptions.MruFile.reuse_window = 1
-let g:FuzzyFinderOptions.MruFile.excluded_path = '\v\~$|\.bak$|\.swp$'
-let g:FuzzyFinderOptions.MruFile.max_item = 200
+let g:FuzzyFinderOptions.MruFile.smart_bs         = 1
+let g:FuzzyFinderOptions.MruFile.switch_order     = 40
+let g:FuzzyFinderOptions.MruFile.reuse_window     = 1
+let g:FuzzyFinderOptions.MruFile.excluded_path    = '\v\~$|\.bak$|\.swp$'
+let g:FuzzyFinderOptions.MruFile.max_item         = 200
 "-----------------------------------------------------------------------------
-let g:FuzzyFinderOptions.MruCmd.mode_available = 1
-let g:FuzzyFinderOptions.MruCmd.prompt = '>MruCmd>'
+let g:FuzzyFinderOptions.MruCmd.mode_available   = 1
+let g:FuzzyFinderOptions.MruCmd.prompt           = '>MruCmd>'
 let g:FuzzyFinderOptions.MruCmd.prompt_highlight = 'Question'
-let g:FuzzyFinderOptions.MruCmd.smart_bs = 0
-let g:FuzzyFinderOptions.MruCmd.switch_order = 50
+let g:FuzzyFinderOptions.MruCmd.smart_bs         = 0
+let g:FuzzyFinderOptions.MruCmd.switch_order     = 50
 let g:FuzzyFinderOptions.MruCmd.excluded_command = '^$'
-let g:FuzzyFinderOptions.MruCmd.max_item = 200
+let g:FuzzyFinderOptions.MruCmd.max_item         = 200
 "-----------------------------------------------------------------------------
-let g:FuzzyFinderOptions.Bookmark.mode_available = 1
-let g:FuzzyFinderOptions.Bookmark.prompt = '>Bookmark>'
+let g:FuzzyFinderOptions.Bookmark.mode_available   = 1
+let g:FuzzyFinderOptions.Bookmark.prompt           = '>Bookmark>'
 let g:FuzzyFinderOptions.Bookmark.prompt_highlight = 'Question'
-let g:FuzzyFinderOptions.Bookmark.smart_bs = 0
-let g:FuzzyFinderOptions.Bookmark.switch_order = 60
-let g:FuzzyFinderOptions.Bookmark.reuse_window = 1
-let g:FuzzyFinderOptions.Bookmark.searching_range = 100
+let g:FuzzyFinderOptions.Bookmark.smart_bs         = 0
+let g:FuzzyFinderOptions.Bookmark.switch_order     = 60
+let g:FuzzyFinderOptions.Bookmark.reuse_window     = 1
+let g:FuzzyFinderOptions.Bookmark.searching_range  = 100
 "-----------------------------------------------------------------------------
-let g:FuzzyFinderOptions.Tag.mode_available = 1
-let g:FuzzyFinderOptions.Tag.prompt = '>Tag>'
+let g:FuzzyFinderOptions.Tag.mode_available   = 1
+let g:FuzzyFinderOptions.Tag.prompt           = '>Tag>'
 let g:FuzzyFinderOptions.Tag.prompt_highlight = 'Question'
-let g:FuzzyFinderOptions.Tag.smart_bs = 0
-let g:FuzzyFinderOptions.Tag.switch_order = 70
+let g:FuzzyFinderOptions.Tag.smart_bs         = 0
+let g:FuzzyFinderOptions.Tag.switch_order     = 70
 "-----------------------------------------------------------------------------
-let g:FuzzyFinderOptions.TaggedFile.mode_available = 1
-let g:FuzzyFinderOptions.TaggedFile.prompt = '>TaggedFile>'
+let g:FuzzyFinderOptions.TaggedFile.mode_available   = 1
+let g:FuzzyFinderOptions.TaggedFile.prompt           = '>TaggedFile>'
 let g:FuzzyFinderOptions.TaggedFile.prompt_highlight = 'Question'
-let g:FuzzyFinderOptions.TaggedFile.smart_bs = 0
-let g:FuzzyFinderOptions.TaggedFile.switch_order = 80
-let g:FuzzyFinderOptions.TaggedFile.reuse_window = 1
+let g:FuzzyFinderOptions.TaggedFile.smart_bs         = 0
+let g:FuzzyFinderOptions.TaggedFile.switch_order     = 80
+let g:FuzzyFinderOptions.TaggedFile.reuse_window     = 1
 "-----------------------------------------------------------------------------
-let g:FuzzyFinderOptions.CallbackFile.mode_available = 1
-let g:FuzzyFinderOptions.CallbackFile.prompt = '>CallbackFile>'
+let g:FuzzyFinderOptions.CallbackFile.mode_available   = 1
+let g:FuzzyFinderOptions.CallbackFile.prompt           = '>CallbackFile>'
 let g:FuzzyFinderOptions.CallbackFile.prompt_highlight = 'Question'
-let g:FuzzyFinderOptions.CallbackFile.smart_bs = 1
-let g:FuzzyFinderOptions.CallbackFile.switch_order = -1
-let g:FuzzyFinderOptions.CallbackFile.lasting_cache = 0
-let g:FuzzyFinderOptions.CallbackFile.excluded_path = ''
+let g:FuzzyFinderOptions.CallbackFile.smart_bs         = 1
+let g:FuzzyFinderOptions.CallbackFile.switch_order     = -1
+let g:FuzzyFinderOptions.CallbackFile.excluded_path    = ''
 "-----------------------------------------------------------------------------
-let g:FuzzyFinderOptions.CallbackItem.mode_available = 1
-let g:FuzzyFinderOptions.CallbackItem.prompt = '>CallbackItem>'
+let g:FuzzyFinderOptions.CallbackItem.mode_available   = 1
+let g:FuzzyFinderOptions.CallbackItem.prompt           = '>CallbackItem>'
 let g:FuzzyFinderOptions.CallbackItem.prompt_highlight = 'Question'
-let g:FuzzyFinderOptions.CallbackItem.smart_bs = 1
-let g:FuzzyFinderOptions.CallbackItem.switch_order = -1
-let g:FuzzyFinderOptions.CallbackItem.lasting_cache = 0
-let g:FuzzyFinderOptions.CallbackItem.excluded_path = ''
+let g:FuzzyFinderOptions.CallbackItem.smart_bs         = 0
+let g:FuzzyFinderOptions.CallbackItem.switch_order     = -1
 
 " overwrites default values of g:FuzzyFinderOptions with user-defined values - {{{2
 call map(s:user_options, 'extend(g:FuzzyFinderOptions[v:key], v:val, ''force'')')
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.