Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【教程】添加 Codelf 到 Vim/Neovim 实现一键搜索 #83

Open
voldikss opened this issue Dec 30, 2019 · 2 comments
Open

【教程】添加 Codelf 到 Vim/Neovim 实现一键搜索 #83

voldikss opened this issue Dec 30, 2019 · 2 comments

Comments

@voldikss
Copy link

voldikss commented Dec 30, 2019

针对 Vim/Neovim 用户

链接

vim-codelf

安装

Plug 'voldikss/vim-codelf'

用法

使用示例按键映射

inoremap <silent> <F9> <C-R>=codelf#start()<CR>
nnoremap <silent> <F9> :call codelf#start()<CR>
  • <F9> 或者执行命令 :Codelf [word] 实现搜索并将结果作为补全候选
  • 如果 :Codelf [word] 太慢等不了,可以用 :CodelfOpenBrowser [word]来一键打开浏览器并导航到在 coodelf 网站相应单词的搜索界面

效果展示


@unbug
Copy link
Owner

unbug commented Dec 31, 2019

没有 GitHub 吗?

@voldikss
Copy link
Author

哦我给忘记了,我更新一下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants