|
|
let dict = globpath(path, "migemo-dict") | let dict = globpath(path, "migemo-dict") |
endif | endif |
if dict == '' | if dict == '' |
let dict = '/usr/local/share/migemo/'.&encoding.'/migemo-dict' |
let dict = '/usr/share/migemo/migemo-dict' |
if !filereadable(dict) | if !filereadable(dict) |
let dict = '' | let dict = '' |
endif | endif |
|
|
nnoremap <Leader>f :call <SID>SearchChar(0)<CR> | nnoremap <Leader>f :call <SID>SearchChar(0)<CR> |
else | else |
" non-builtin version | " non-builtin version |
let g:migemodict = s:SearchDict() |
if !exists('g:migemodict') |
|
let g:migemodict = s:SearchDict() |
|
endif |
|
|
command! -nargs=* Migemo :call <SID>MigemoSearch(<q-args>) | command! -nargs=* Migemo :call <SID>MigemoSearch(<q-args>) |
nnoremap <silent> <leader>mi :call <SID>MigemoSearch('')<cr> | nnoremap <silent> <leader>mi :call <SID>MigemoSearch('')<cr> |
| |