sponsor Vim development Vim logo Vim Book Ad

cursorline_current.vim : Show cursorline only in active window

 script karma  Rating 4/1, Downloaded by 15  Comments, bugs, improvements  Vim wiki

created by
Tom Ryder
 
script type
utility
 
description
This plugin tweaks the behaviour of the 'cursorline' option to enable it only in the current window and when not in insert mode (configurable). It essentially makes 'cursorline' follow the cursor in normal mode as much as possible.

It uses the global value of 'cursorline' as its default, and should also correctly handle local values for windows.

https://sanctum.geek.nz/cgit/vim-cursorline-current.git/
 
install details
Drop plugin/cursorline_current.vim in your ~/.vim/plugin directory. Add doc/cursorline_current.txt in ~/.vim/doc if you want the help file. Otherwise, use your favourite Vim plugin package manager.
 

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-cursorline-current-0.3.0.tar.gz 0.3.0 2018-09-09 7.0 Tom Ryder Bugfix for opening windows onto existent buffers, per report from m_ben in #vim
ip used for rating: 54.163.22.209

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