sponsor Vim development Vim logo Vim Book Ad

vim-cursorword : Underlines the word under the cursor

 script karma  Rating 20/13, Downloaded by 2368  Comments, bugs, improvements  Vim wiki

created by
itchyny  
 
script type
utility
 
description
NOTE: I don't upload code to vim.org anymore. Please clone from https://github.com/itchyny/vim-cursorword.


This *cursorword* plugin underlines the word under the cursor. That's it.

While we are coding, we always pay attention to the variable under the cursor.
Where did we define the variable? In which statement do we use the variable?
Searching the variable using |star| or |#| is a simple solution to highlight all
the places the variable is used. However, it costs too much time to highlight
a word, move around to check the places and clear the highlight.  This plugin
|cursorword| provides you the modest underlines for the variables under the
cursor to let you know all the places the variable is used at a glance without
stopping coding.

Image: https://raw.githubusercontent.com/wiki/itchyny/vim-cursorword/image/image.gif
GitHub repository: https://github.com/itchyny/vim-cursorword
Bug Tracker: https://github.com/itchyny/vim-cursorword/issues
 
install details
 

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
cursorword.zip 0.8 2017-10-19 7.3 itchyny   improve word matching for insert and replace modes
update word under the cursor matching on InsertEnter and InsertLeave events
skip underlining word if the word is too long to avoid E339
cursorword.zip 0.7 2017-05-10 7.3 itchyny   fix E16 error on the old regexp engine
cursorword.zip 0.6 2017-05-07 7.3 itchyny   - improve document
- underline multi-byte alphabets like accents, umlauts and Cyrillic alphabets
vim-cursorword-0.2.zip 0.2 2015-02-09 7.3 itchyny   Fix English in the document (Thank you ujihisa).
Check if Vim has started.
Call cursorword#highlight on loading the autoload script.
vim-cursorword-0.1.zip 0.1 2015-01-31 7.3 itchyny   Initial upload
ip used for rating: 54.144.233.198

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.
   
Vim at Github