Code Monkey home page Code Monkey logo

vim-codelf's Introduction

vim-codelf

CI

(Neo)Vim plugin for searching useful variable names from CODELF

Install

Plug 'voldikss/vim-codelf'

Keymap

" Example key mappings configuration
inoremap <silent> <F9> <C-R>=codelf#start()<CR>
nnoremap <silent> <F9> :call codelf#start()<CR>

Configuration

g:codelf_enable_popup_menu

If set v:true, the available variable names will displayed in popup menu, which behaviors just like code completion. Otherwise, they will be displayed in cmdline, prompting the user to select one(like :z=) to replace the word under the cursor.

g:codelf_proxy_url

e.g. let g:codelf_proxy_url=http://127.0.0.1:1081

Commands

:Codelf [word]

Query the word from codelf, return the variable name.

:CodelfOpenBrowser [word]

Go to CODELF for the word. If no word, use the word under the cursor. vim-browser-search supplies the same function.

Statusline

  • g:codelf_status

Q&As

  • How to stop it from displaying after triggering a codelf query?

    If the cursor was moved to another place, the callback function will be disabled.

  • Will it frozen my Vim?

    If your (Neo)Vim has job feature, this plugin won't stop your behavior. Otherwise, yes(and this plugin is not recommended in that case).

vim-codelf's People

Contributors

voldikss avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

tinix

vim-codelf's Issues

【重要】请更换有道翻译Key

由于有道翻译有诸多限制(请求数量,域名等)。
请自己申请一个有道翻译的Key,以免影响用户正常实用 CODELF。
其他可替换的翻译API有:Bing 翻译,Baidu 翻译。

YOUDAO_API = 'https://fanyi.youdao.com/openapi.do?callback=youdaoFanyiRequestCallback&keyfrom=Codelf&key=2023743559&type=data&doctype=jsonp&version=1.1&q='

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.