Commits

Takeshi NISHIDA committed 7d7aa8a

renamed allfile to coveragefile

Comments (0)

Files changed (5)

autoload/fuf/allfile.vim

-"=============================================================================
-" Copyright (c) 2007-2010 Takeshi NISHIDA
-"
-"=============================================================================
-" LOAD GUARD {{{1
-
-if !l9#guardScriptLoading(expand('<sfile>:p'), 702, 100)
-  finish
-endif
-
-" }}}1
-"=============================================================================
-" GLOBAL FUNCTIONS {{{1
-
-"
-function fuf#allfile#createHandler(base)
-  return a:base.concretize(copy(s:handler))
-endfunction
-
-"
-function fuf#allfile#getSwitchOrder()
-  return g:fuf_allfile_switchOrder
-endfunction
-
-"
-function fuf#allfile#renewCache()
-  let s:cache = {}
-endfunction
-
-"
-function fuf#allfile#requiresOnCommandPre()
-  return 0
-endfunction
-
-"
-function fuf#allfile#onInit()
-  call fuf#defineLaunchCommand('FufAllFile', s:MODE_NAME, '""')
-  command! -bang -narg=0        FufAllFileRegisterCoverage call s:registerCoverage()
-  command! -bang -narg=?        FufAllFileChangeCoverage call s:changeCoverage(<q-args>)
-endfunction
-
-" }}}1
-"=============================================================================
-" LOCAL FUNCTIONS/VARIABLES {{{1
-
-let s:MODE_NAME = expand('<sfile>:t:r')
-
-"
-function s:enumItems()
-  let key = join([getcwd(), g:fuf_ignoreCase, g:fuf_allfile_exclude,
-        \         g:fuf_allfile_globPatterns], "\n")
-  if !exists('s:cache[key]')
-    let s:cache[key] = l9#concat(map(copy(g:fuf_allfile_globPatterns),
-          \                          'split(glob(v:val), "\n")'))
-    call filter(s:cache[key], 'filereadable(v:val)')
-    call map(s:cache[key], 'fuf#makePathItem(fnamemodify(v:val, ":~:."), "", 0)')
-    if len(g:fuf_allfile_exclude)
-      call filter(s:cache[key], 'v:val.word !~ g:fuf_allfile_exclude')
-    endif
-    call fuf#mapToSetSerialIndex(s:cache[key], 1)
-    call fuf#mapToSetAbbrWithSnippedWordAsPath(s:cache[key])
-  endif
-  return s:cache[key]
-endfunction
-
-"
-function s:registerCoverage()
-  let patterns = []
-  while 1
-    let pattern = l9#inputHl('Question', '[fuf] Glob pattern for coverage (<Esc> and end):')
-    if pattern !~ '\S'
-      break
-    endif
-    call add(patterns, pattern)
-  endwhile
-  if empty(patterns)
-    call fuf#echoWarning('Canceled')
-    return
-  endif
-  echo '[fuf] patterns: ' . string(patterns)
-  let name = l9#inputHl('Question', '[fuf] Coverage name:')
-  if name !~ '\S'
-    call fuf#echoWarning('Canceled')
-    return
-  endif
-  let coverages = fuf#loadDataFile(s:MODE_NAME, 'items')
-  call insert(coverages, {'name': name, 'patterns': patterns})
-  call fuf#saveDataFile(s:MODE_NAME, 'items', coverages)
-endfunction
-
-"
-function s:createChangeCoverageListener()
-  let listener = {}
-
-  function listener.onComplete(name, method)
-    call s:changeCoverage(a:name)
-  endfunction
-
-  return listener
-endfunction
-
-"
-function s:changeCoverage(name)
-  let coverages = fuf#loadDataFile(s:MODE_NAME, 'items')
-  if a:name !~ '\S'
-    let names = map(copy(coverages), 'v:val.name')
-    call fuf#callbackitem#launch('', 0, '>Coverage>', s:createChangeCoverageListener(), names, 0)
-    return
-  else
-    let name = a:name
-  endif
-  call filter(coverages, 'v:val.name ==# name')
-  if empty(coverages)
-      call fuf#echoError('Coverage not found: ' . name)
-    return
-  endif
-  call fuf#setOneTimeVariables(['g:fuf_allfile_globPatterns',
-        \                       coverages[0].patterns])
-  call feedkeys(":FufAllFile\<CR>", 'n')
-endfunction
-
-" }}}1
-"=============================================================================
-" s:handler {{{1
-
-let s:handler = {}
-
-"
-function s:handler.getModeName()
-  return s:MODE_NAME
-endfunction
-
-"
-function s:handler.getPrompt()
-  return fuf#formatPrompt(g:fuf_allfile_prompt, self.partialMatching,
-        \                 string(g:fuf_allfile_globPatterns))
-endfunction
-
-"
-function s:handler.getPreviewHeight()
-  return g:fuf_previewHeight
-endfunction
-
-"
-function s:handler.isOpenable(enteredPattern)
-  return 1
-endfunction
-
-"
-function s:handler.makePatternSet(patternBase)
-  return fuf#makePatternSet(a:patternBase, 's:interpretPrimaryPatternForPath',
-        \                   self.partialMatching)
-endfunction
-
-"
-function s:handler.makePreviewLines(word, count)
-  return fuf#makePreviewLinesForFile(a:word, a:count, self.getPreviewHeight())
-endfunction
-
-"
-function s:handler.getCompleteItems(patternPrimary)
-  return self.items
-endfunction
-
-"
-function s:handler.onOpen(word, mode)
-  call fuf#openFile(a:word, a:mode, g:fuf_reuseWindow)
-endfunction
-
-"
-function s:handler.onModeEnterPre()
-endfunction
-
-"
-function s:handler.onModeEnterPost()
-  " NOTE: Comparing filenames is faster than bufnr('^' . fname . '$')
-  let bufNamePrev = fnamemodify(bufname(self.bufNrPrev), ':~:.')
-  let self.items = s:enumItems()
-  call filter(self.items, '!empty(v:val) && v:val.word !=# bufNamePrev')
-endfunction
-
-"
-function s:handler.onModeLeavePost(opened)
-endfunction
-
-" }}}1
-"=============================================================================
-" vim: set fdm=marker:

autoload/fuf/coveragefile.vim

+"=============================================================================
+" Copyright (c) 2007-2010 Takeshi NISHIDA
+"
+"=============================================================================
+" LOAD GUARD {{{1
+
+if !l9#guardScriptLoading(expand('<sfile>:p'), 702, 100)
+  finish
+endif
+
+" }}}1
+"=============================================================================
+" GLOBAL FUNCTIONS {{{1
+
+"
+function fuf#coveragefile#createHandler(base)
+  return a:base.concretize(copy(s:handler))
+endfunction
+
+"
+function fuf#coveragefile#getSwitchOrder()
+  return g:fuf_coveragefile_switchOrder
+endfunction
+
+"
+function fuf#coveragefile#renewCache()
+  let s:cache = {}
+endfunction
+
+"
+function fuf#coveragefile#requiresOnCommandPre()
+  return 0
+endfunction
+
+"
+function fuf#coveragefile#onInit()
+  call fuf#defineLaunchCommand('FufCoverageFile', s:MODE_NAME, '""')
+  command! -bang -narg=0        FufCoverageFileRegister call s:registerCoverage()
+  command! -bang -narg=?        FufCoverageFileChange call s:changeCoverage(<q-args>)
+endfunction
+
+" }}}1
+"=============================================================================
+" LOCAL FUNCTIONS/VARIABLES {{{1
+
+let s:MODE_NAME = expand('<sfile>:t:r')
+
+"
+function s:enumItems()
+  let key = join([getcwd(), g:fuf_ignoreCase, g:fuf_coveragefile_exclude,
+        \         g:fuf_coveragefile_globPatterns], "\n")
+  if !exists('s:cache[key]')
+    let s:cache[key] = l9#concat(map(copy(g:fuf_coveragefile_globPatterns),
+          \                          'split(glob(v:val), "\n")'))
+    call filter(s:cache[key], 'filereadable(v:val)')
+    call map(s:cache[key], 'fuf#makePathItem(fnamemodify(v:val, ":~:."), "", 0)')
+    if len(g:fuf_coveragefile_exclude)
+      call filter(s:cache[key], 'v:val.word !~ g:fuf_coveragefile_exclude')
+    endif
+    call fuf#mapToSetSerialIndex(s:cache[key], 1)
+    call fuf#mapToSetAbbrWithSnippedWordAsPath(s:cache[key])
+  endif
+  return s:cache[key]
+endfunction
+
+"
+function s:registerCoverage()
+  let patterns = []
+  while 1
+    let pattern = l9#inputHl('Question', '[fuf] Glob pattern for coverage (<Esc> and end):')
+    if pattern !~ '\S'
+      break
+    endif
+    call add(patterns, pattern)
+  endwhile
+  if empty(patterns)
+    call fuf#echoWarning('Canceled')
+    return
+  endif
+  echo '[fuf] patterns: ' . string(patterns)
+  let name = l9#inputHl('Question', '[fuf] Coverage name:')
+  if name !~ '\S'
+    call fuf#echoWarning('Canceled')
+    return
+  endif
+  let coverages = fuf#loadDataFile(s:MODE_NAME, 'items')
+  call insert(coverages, {'name': name, 'patterns': patterns})
+  call fuf#saveDataFile(s:MODE_NAME, 'items', coverages)
+endfunction
+
+"
+function s:createChangeCoverageListener()
+  let listener = {}
+
+  function listener.onComplete(name, method)
+    call s:changeCoverage(a:name)
+  endfunction
+
+  return listener
+endfunction
+
+"
+function s:changeCoverage(name)
+  let coverages = fuf#loadDataFile(s:MODE_NAME, 'items')
+  if a:name !~ '\S'
+    let names = map(copy(coverages), 'v:val.name')
+    call fuf#callbackitem#launch('', 0, '>Coverage>', s:createChangeCoverageListener(), names, 0)
+    return
+  else
+    let name = a:name
+  endif
+  call filter(coverages, 'v:val.name ==# name')
+  if empty(coverages)
+      call fuf#echoError('Coverage not found: ' . name)
+    return
+  endif
+  call fuf#setOneTimeVariables(['g:fuf_coveragefile_globPatterns',
+        \                       coverages[0].patterns])
+  call feedkeys(":FufCoverageFile\<CR>", 'n')
+endfunction
+
+" }}}1
+"=============================================================================
+" s:handler {{{1
+
+let s:handler = {}
+
+"
+function s:handler.getModeName()
+  return s:MODE_NAME
+endfunction
+
+"
+function s:handler.getPrompt()
+  return fuf#formatPrompt(g:fuf_coveragefile_prompt, self.partialMatching,
+        \                 string(g:fuf_coveragefile_globPatterns))
+endfunction
+
+"
+function s:handler.getPreviewHeight()
+  return g:fuf_previewHeight
+endfunction
+
+"
+function s:handler.isOpenable(enteredPattern)
+  return 1
+endfunction
+
+"
+function s:handler.makePatternSet(patternBase)
+  return fuf#makePatternSet(a:patternBase, 's:interpretPrimaryPatternForPath',
+        \                   self.partialMatching)
+endfunction
+
+"
+function s:handler.makePreviewLines(word, count)
+  return fuf#makePreviewLinesForFile(a:word, a:count, self.getPreviewHeight())
+endfunction
+
+"
+function s:handler.getCompleteItems(patternPrimary)
+  return self.items
+endfunction
+
+"
+function s:handler.onOpen(word, mode)
+  call fuf#openFile(a:word, a:mode, g:fuf_reuseWindow)
+endfunction
+
+"
+function s:handler.onModeEnterPre()
+endfunction
+
+"
+function s:handler.onModeEnterPost()
+  " NOTE: Comparing filenames is faster than bufnr('^' . fname . '$')
+  let bufNamePrev = fnamemodify(bufname(self.bufNrPrev), ':~:.')
+  let self.items = s:enumItems()
+  call filter(self.items, '!empty(v:val) && v:val.word !=# bufNamePrev')
+endfunction
+
+"
+function s:handler.onModeLeavePost(opened)
+endfunction
+
+" }}}1
+"=============================================================================
+" vim: set fdm=marker:
          コマンド                  モード ~
         |:FufBuffer|       - Buffer モード (|fuf-buffer-mode|)
         |:FufFile|         - File モード (|fuf-file-mode|)
-        |:FufAllFile|      - All-File モード (|fuf-allfile-mode|)
+        |:FufCoverageFile| - Coverage-File モード (|fuf-coveragefile-mode|)
         |:FufDir|          - Directory モード (|fuf-dir-mode|)
         |:FufMruFile|      - MRU-File モード (|fuf-mrufile-mode|)
         |:FufAroundMruFile|- Around-MRU-File モード (|fuf-aroundmrufile-mode|)
 このモードはファイルツリーからファイルを検索して開くインターフェースを提供しま
 す。
 
-                                                            *fuf-allfile-mode*
-All-File モード ~
+                                                       *fuf-coveragefile-mode*
+Coverage-File モード ~
 
 このモードはあらかじめ設定した検索対象の全ファイルからファイルを選択して開くイ
 ンターフェースを提供します。
 
 デフォルトではカレントディレクトリ以下の全ファイルを列挙します。
-(|g:fuf_allfile_globPatterns|)
+(|g:fuf_coveragefile_globPatterns|)
 
-他の検索対象を検索したい場合、|FufAllFileRegisterCoverage|コマンドで新しい検索
-対象を登録し、|FufAllFileChangeCoverage|コマンドで検索対象を選択して All-File
+他の検索対象を検索したい場合、|FufCoverageFileRegister|コマンドで新しい検索対
+象を登録し、|FufCoverageFileChange|コマンドで検索対象を選択して Coverage-File
 モードを起動します。
 
 加えて、|fuf#setOneTimeVariables()|関数を使う方法もあります。
 
 例: .hと.cファイルだけ検索する:
 >
-        call fuf#setOneTimeVariables(['g:fuf_allfile_globPatterns', ['**/*.h', '**/*.c']])
-              \ | FufAllFile
+        call fuf#setOneTimeVariables(['g:fuf_coveragefile_globPatterns', ['**/*.h', '**/*.c']])
+              \ | FufCoverageFile
 <
 例: デフォルトの検索対象に加えてホームディレクトリも検索する:
 >
-        call fuf#setOneTimeVariables(['g:fuf_allfile_globPatterns', g:fuf_allfile_globPatterns + ['~/**/.*', '~/**/*']])
-              \ | FufAllFile
+        call fuf#setOneTimeVariables(['g:fuf_coveragefile_globPatterns', g:fuf_coveragefile_globPatterns + ['~/**/.*', '~/**/*']])
+              \ | FufCoverageFile
 <
 
                                                                 *fuf-dir-mode*
         データファイルを編集するためのバッファを開きます。詳しくは
         |fuf-data-file|を参照してください。
 
-                                                 *:FufAllFileRegisterCoverage*
-:FufAllFileRegisterCoverage
-        All-File モードで検索される、新しい検索対象を登録します。最初に ~/* の
-        ような glob パターンを入力します。 <Esc> を入力するまでパターンを追加
-        することができます。次に対象名を入力します。
+                                                    *:FufCoverageFileRegister*
+:FufCoverageFileRegister
+        Coverage-File モードで検索される、新しい検索対象を登録します。最初に
+        ~/* のような glob パターンを入力します。 <Esc> を入力するまでパターン
+        を追加することができます。次に対象名を入力します。
 
-        See also: |glob()|, |fuf-allfile-mode|
+        See also: |glob()|, |fuf-coveragefile-mode|
 
-                                                   *:FufAllFileChangeCoverage*
-:FufAllFileChangeCoverage [{name}]
-        |FufAllFileRegisterCoverage|コマンドで登録されている中から選択された検
-        索対象でAll-File モードを起動します。
+                                                      *:FufCoverageFileChange*
+:FufCoverageFileChange [{name}]
+        |FufCoverageFileRegister|コマンドで登録されている中から選択された検索
+        対象でCoverage-File モードを起動します。
 
         対象名が与えられた場合、選択プロセスは飛ばされます。
 
-        See also: |fuf-allfile-mode|
+        See also: |fuf-coveragefile-mode|
 
                                                              *:FufAddBookmark*
 :FufAddBookmark [{name}]
 <
         補完リストから除外したいアイテムの正規表現パターン。
 
-                                                *fuf-options-for-allfile-mode*
-All-File モード用 ~
+                                                *fuf-options-for-coveragefile-mode*
+Coverage-File モード用 ~
 
-                                                     *g:fuf_allfile_prompt*  >
-  let g:fuf_allfile_prompt = '>AllFile[]>'
+                                                     *g:fuf_coveragefile_prompt*  >
+  let g:fuf_coveragefile_prompt = '>CoverageFile[]>'
 <
         プロンプト文字列。"[]" はインジケータに置換されます。
 
-                                                *g:fuf_allfile_switchOrder*  >
-  let g:fuf_allfile_switchOrder = 30
+                                                *g:fuf_coveragefile_switchOrder*  >
+  let g:fuf_coveragefile_switchOrder = 30
 <
         次/前のモードに切り替えるときの、モードの順位です。負数ならこのモード
         には切り替えません。
 
-                                                    *g:fuf_allfile_exclude*  >
-  let g:fuf_allfile_exclude = '\v\~$|\.(o|exe|dll|bak|orig|swp)$|(^|[/\\])\.(hg|git|bzr)($|[/\\])'
+                                                    *g:fuf_coveragefile_exclude*  >
+  let g:fuf_coveragefile_exclude = '\v\~$|\.(o|exe|dll|bak|orig|swp)$|(^|[/\\])\.(hg|git|bzr)($|[/\\])'
 <
         補完リストから除外したいアイテムの正規表現パターン。
 
-                                               *g:fuf_allfile_globPatterns*  >
-  let g:fuf_allfile_globPatterns = ['**/.*', '**/*']
+                                               *g:fuf_coveragefile_globPatterns*  >
+  let g:fuf_coveragefile_globPatterns = ['**/.*', '**/*']
 <
         検索されるファイルパスを得るためのglobパターンのリスト。
 
   nnoremap <silent> <C-p>      :FufFileWithCurrentBufferDir<CR>
   nnoremap <silent> <C-f><C-p> :FufFileWithFullCwd<CR>
   nnoremap <silent> <C-f>p     :FufFile<CR>
-  nnoremap <silent> <C-f><C-a> :FufAllFileChangeCoverage<CR>
-  nnoremap <silent> <C-f>a     :FufAllFileRegisterCoverage<CR>
+  nnoremap <silent> <C-f><C-a> :FufCoverageFileChange<CR>
+  nnoremap <silent> <C-f>a     :FufCoverageFileRegister<CR>
   nnoremap <silent> <C-f><C-d> :FufDirWithCurrentBufferDir<CR>
   nnoremap <silent> <C-f>d     :FufDirWithFullCwd<CR>
   nnoremap <silent> <C-f>D     :FufDir<CR>
          Command           Mode ~
         |:FufBuffer|       - Buffer mode (|fuf-buffer-mode|)
         |:FufFile|         - File mode (|fuf-file-mode|)
-        |:FufAllFile|      - All-File mode (|fuf-allfile-mode|)
+        |:FufCoverageFile| - Coverage-File mode (|fuf-coveragefile-mode|)
         |:FufDir|          - Directory mode (|fuf-dir-mode|)
         |:FufMruFile|      - MRU-File mode (|fuf-mrufile-mode|)
         |:FufAroundMruFile|- Around-MRU-File mode (|fuf-aroundmrufile-mode|)
 
 This mode provides an interface to search a file tree for a file and open it.
 
-                                                            *fuf-allfile-mode*
-All-File mode ~
+                                                       *fuf-coveragefile-mode*
+Coverage-File mode ~
 
 This mode provides an interface to select a file from all files of preset
 locations and open it.
 
 By default, This mode lists all files under the current working directory
-recursively. (|g:fuf_allfile_globPatterns|)
+recursively. (|g:fuf_coveragefile_globPatterns|)
 
-If you want to search other coverage, execute |FufAllFileRegisterCoverage|
-command to register new search coverage and |FufAllFileChangeCoverage| command
-to choose a search coverage and launch All-File mode.
+If you want to search other coverage, execute |FufCoverageFileRegister|
+command to register new search coverage and |FufCoverageFileChange| command to
+choose a search coverage and launch Coverage-File mode.
 
 In addition, there is another way to change a search coverage with
 |fuf#setOneTimeVariables()| function.
 
 Example: search only .h and .c files:
 >
-        call fuf#setOneTimeVariables(['g:fuf_allfile_globPatterns', ['**/*.h', '**/*.c']])
-              \ | FufAllFile
+        call fuf#setOneTimeVariables(['g:fuf_coveragefile_globPatterns', ['**/*.h', '**/*.c']])
+              \ | FufCoverageFile
 <
 Example: search your home directory in addition to the default coverage:
 >
-        call fuf#setOneTimeVariables(['g:fuf_allfile_globPatterns', g:fuf_allfile_globPatterns + ['~/**/.*', '~/**/*']])
-              \ | FufAllFile
+        call fuf#setOneTimeVariables(['g:fuf_coveragefile_globPatterns', g:fuf_coveragefile_globPatterns + ['~/**/.*', '~/**/*']])
+              \ | FufCoverageFile
 <
 
                                                                 *fuf-dir-mode*
         Is mostly the same as |:FufFile|, except that initial pattern is a
         path of directory current buffer is in.
 
-                                                                 *:FufAllFile*
-:FufAllFile[!] [{pattern}]
-        Launchs All-File mode.
+                                                            *:FufCoverageFile*
+:FufCoverageFile[!] [{pattern}]
+        Launchs Coverage-File mode.
 
         If a command was executed with a ! modifier, it does partial matching
         instead of fuzzy matching.
         Opens a buffer for editing your data files. See |fuf-data-file| for
         details.
 
-                                                 *:FufAllFileRegisterCoverage*
-:FufAllFileRegisterCoverage
-        Registers new search coverage to be searched in All-File mode.
+                                                    *:FufCoverageFileRegister*
+:FufCoverageFileRegister
+        Registers new search coverage to be searched in Coverage-File mode.
         First, input glob patterns, like ~/* . You can add patterns unless
         typing <Esc>. Next, input coverage name.
 
-        See also: |glob()|, |fuf-allfile-mode|
+        See also: |glob()|, |fuf-coveragefile-mode|
 
-                                                   *:FufAllFileChangeCoverage*
-:FufAllFileChangeCoverage [{name}]
-        Launchs All-File mode with a chosen coverage, registered with
-        |FufAllFileRegisterCoverage| command.
+                                                      *:FufCoverageFileChange*
+:FufCoverageFileChange [{name}]
+        Launchs Coverage-File mode with a chosen coverage, registered with
+        |FufCoverageFileRegister| command.
 
         If location name is given, the choise process will be skipped.
 
-        See also: |fuf-allfile-mode|
+        See also: |fuf-coveragefile-mode|
 
                                                              *:FufAddBookmark*
 :FufAddBookmark [{name}]
         Regexp pattern for items which you want to exclude from completion
         list.
 
-                                                *fuf-options-for-allfile-mode*
-For All-File Mode ~
+                                                *fuf-options-for-coveragefile-mode*
+For Coverage-File Mode ~
 
-                                                     *g:fuf_allfile_prompt*  >
-  let g:fuf_allfile_prompt = '>AllFile[]>'
+                                                     *g:fuf_coveragefile_prompt*  >
+  let g:fuf_coveragefile_prompt = '>CoverageFile[]>'
 <
         Prompt string. "[]" will be substituted with indicators.
 
-                                                *g:fuf_allfile_switchOrder*  >
-  let g:fuf_allfile_switchOrder = 30
+                                                *g:fuf_coveragefile_switchOrder*  >
+  let g:fuf_coveragefile_switchOrder = 30
 <
         Number of order for switching to the next/previous mode. If negative
         number, Fuzzyfinder never switches to this mode.
 
-                                                    *g:fuf_allfile_exclude*  >
-  let g:fuf_allfile_exclude = '\v\~$|\.(o|exe|dll|bak|orig|swp)$|(^|[/\\])\.(hg|git|bzr)($|[/\\])'
+                                                    *g:fuf_coveragefile_exclude*  >
+  let g:fuf_coveragefile_exclude = '\v\~$|\.(o|exe|dll|bak|orig|swp)$|(^|[/\\])\.(hg|git|bzr)($|[/\\])'
 <
         Regexp pattern for items which you want to exclude from completion
         list.
 
-                                               *g:fuf_allfile_globPatterns*  >
-  let g:fuf_allfile_globPatterns = ['**/.*', '**/*']
+                                               *g:fuf_coveragefile_globPatterns*  >
+  let g:fuf_coveragefile_globPatterns = ['**/.*', '**/*']
 <
         List of glob patterns to get file paths to be searched.
 
   nnoremap <silent> <C-p>      :FufFileWithCurrentBufferDir<CR>
   nnoremap <silent> <C-f><C-p> :FufFileWithFullCwd<CR>
   nnoremap <silent> <C-f>p     :FufFile<CR>
-  nnoremap <silent> <C-f><C-a> :FufAllFileChangeCoverage<CR>
-  nnoremap <silent> <C-f>a     :FufAllFileRegisterCoverage<CR>
+  nnoremap <silent> <C-f><C-a> :FufCoverageFileChange<CR>
+  nnoremap <silent> <C-f>a     :FufCoverageFileRegister<CR>
   nnoremap <silent> <C-f><C-d> :FufDirWithCurrentBufferDir<CR>
   nnoremap <silent> <C-f>d     :FufDirWithFullCwd<CR>
   nnoremap <silent> <C-f>D     :FufDir<CR>
 
 4.0:
   - From this version, L9 library (vimscript #3252) is required.
-  - Added All-File mode for users wanting something like TextMate's command-t.
+  - Added Coverage-File mode for users wanting something like TextMate's
+    command-t. (But I've never used it.)
   - Added Around-MRU-File mode. (Too slow. There is room for improvement.)
   - Added new feature which deletes selected buffer with FuzzyFinder and
     g:fuf_buffer_keyDelete option.
   call l9#defineVariableDefault('g:fuf_file_switchOrder', 20)
   call l9#defineVariableDefault('g:fuf_file_exclude'    , '\v\~$|\.(o|exe|dll|bak|orig|sw[po])$|(^|[/\\])\.(hg|git|bzr)($|[/\\])')
   "---------------------------------------------------------------------------
-  call l9#defineVariableDefault('g:fuf_allfile_prompt'     , '>AllFile[]>')
-  call l9#defineVariableDefault('g:fuf_allfile_switchOrder', 30)
-  call l9#defineVariableDefault('g:fuf_allfile_exclude'    , '\v\~$|\.(o|exe|dll|bak|orig|sw[po])$|(^|[/\\])\.(hg|git|bzr)($|[/\\])')
-  call l9#defineVariableDefault('g:fuf_allfile_globPatterns', ['**/.*', '**/*'])
+  call l9#defineVariableDefault('g:fuf_coveragefile_prompt'     , '>CoverageFile[]>')
+  call l9#defineVariableDefault('g:fuf_coveragefile_switchOrder', 30)
+  call l9#defineVariableDefault('g:fuf_coveragefile_exclude'    , '\v\~$|\.(o|exe|dll|bak|orig|sw[po])$|(^|[/\\])\.(hg|git|bzr)($|[/\\])')
+  call l9#defineVariableDefault('g:fuf_coveragefile_globPatterns', ['**/.*', '**/*'])
   "---------------------------------------------------------------------------
   call l9#defineVariableDefault('g:fuf_dir_prompt'     , '>Dir[]>')
   call l9#defineVariableDefault('g:fuf_dir_switchOrder', 40)
   "---------------------------------------------------------------------------
   call fuf#addMode('buffer')
   call fuf#addMode('file')
-  call fuf#addMode('allfile')
+  call fuf#addMode('coveragefile')
   call fuf#addMode('dir')
   call fuf#addMode('mrufile')
   call fuf#addMode('aroundmrufile')