Skip to content
(Neo)Vim plugin for searching useful variable names
Vim script Python
Branch: master
Clone or download
Latest commit bb3eb92 Dec 31, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
autoload Add syntax testing Dec 31, 2019
plugin Initial commit Dec 30, 2019
script Fix is_chinese function Dec 31, 2019
.gitignore Initial commit Dec 30, 2019
.travis.yml Add syntax testing Dec 31, 2019
README.md Add syntax testing Dec 31, 2019

README.md

vim-codelf

Build Status

(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.

Commands

:Codelf [word]

Query the word from codelf, return the variable name.

:CodelfOpenBrowser [word]

Open browser with querying the word. If no word, use the word under the cursor. My another plugin vim-browser-search supplies the same function.

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).

You can’t perform that action at this time.