Xapian based full text search plugin for vim.
Curruntly supports .md, .rst, .txt files.
:XavianIndex /path/to/directory
This may take some time.
With --increment
option, you can index only files that is modified or created after last indexed time.
:XavianIndex --increment /path/to/directory
With --no-increment
, index all files.
Default behavior of :XavianIndex /path/to/directory
is changed by g:xavian_incremental_index
.
If g:xavian_incremental_index = 1
, :XavianIndex /path/to/directory
execute incremental index.
Default, :XavianIndex /path/to/directory
index all files.
:XavianSearch word
XavianSearch
takes more than one word.
Max results is 20.
There is a command line tool, bin/xavian .
First, install Xapian. Then, install this plugin.
You can use this to install.
Example to install by dein.vim.
call dein#add('kit494way/xavian')
Install python packages. Make sure to install to python used by vim.
$ pip install -r requirements.txt
(Optional) If using CJK (Chinese, Japanese or Korean), set let g:xavian_cjk = 1
.
GNU General Public License v3.0
See COPYING to see the full text.