sponsor Vim development Vim logo Vim Book Ad

vim-codelf : Vim plugin for searching useful variable names

 script karma  Rating 0/0, Downloaded by 87  Comments, bugs, improvements  Vim wiki

created by
最 上川
script type
Vim plugin for searching useful variable names from CODELF(https://github.com/unbug/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
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.

More info, see https://github.com/voldikss/vim-codelf
install details
- Use plugin manager
- Use `set rtp+=/path/to/vim-codelf`

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
vim-codelf.tar.gz 1.0.1 2020-04-16 8.0 最 上川 - Add statusline variable:  `g:codelf_status`
vim-codelf.tar.gz 1.0.0 2020-01-14 8.0 最 上川 Initial upload
ip used for rating:

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
OSDN.net Logo