investigate.vim,对Vim中当前光标下的单词查找在线文档,配置如下
"investigate
nnoremap <leader>k :call investigate#Investigate('n')<CR>
vnoremap <leader>k :call investigate#Investigate('v')<CR>
"默认情况下对python查找的是python2的文档,此处修改为python3
let g:investigate_url_for_python="https://docs.python/3/search.html?q=^s"
更多推荐
Vim插件之investigate.vim
发布评论