sponsor Vim development Vim logo Vim Book Ad

highlightedyank : Make the yanked region apparent!

 script karma  Rating 13/6, Downloaded by 1302  Comments, bugs, improvements  Vim wiki

created by
Masaaki Nakamura
script type

map y <Plug>(highlightedyank)

If you want to optimize highlight duration, use g:highlightedyank_highlight_duration , b:highlightedyank_highlight_duration. Assign number of time in milli seconds.

let g:highlightedyank_highlight_duration = 1000

If a negative number is assigned, the highlight would get persistent.

let g:highlightedyank_highlight_duration = -1

When a new text is yanked, the old highlighting would be deleted. Or when former lines are edited, the highlighting would be deleted to prevent shifting the position, also.

The latest version is available here. https://github.com/machakann/vim-highlightedyank
install details
Unzip and just put all folders in your ~/.vim.

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-highlightedyank-1.0.1.zip 1.0.1 2016-08-18 7.4 Masaaki Nakamura Bug fixes.
vim-highlightedyank-1.0.0.zip 1.0.0 2016-07-31 7.4 Masaaki Nakamura 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.