Ⅰ. 插件描述
A frontend to the namazu command-line client.(not mknmz)Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/namazu-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/namazu-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/namazu-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/namazu.vim
Ⅳ. 文档说明
Namazu is a full text search engine.
See http://www.namazu.org/.
namazu.vim has the following features.
- searching from the namazu index.
- open a file from search result. (now, only a plain text file)
" Options:
"
" let g:namazu_cmd = '/path/to/namazu'
" (default: namazu)
"
" let g:namazu_index = '/path/to/indexdirectory'
" (Can be a space-separated list)
"
" let g:namazu_range = NUMBER
" Set the number of documents shown to NUMBER.
" (default: 30)
"
" let g:namazu_color = NUMBER
" Set this to zero to disable syntax
" highlighting. (default: 1)
"
" Usage:
"
" Type :Namazu<CR> to start searching.
"
" <enter> : Open a selected file.
" r : Research.
" s : Set a sort METHOD (score, date)
" k : Move to a previous result.
" j : Move to a next result.
" h : Move to a previous page.
" l : Move to a next page.
" q : Close the namazu window.
"