sponsor Vim development Vim logo Vim Book Ad

vim-numbers : A plugin for intelligently switching between absolute and relative line numbers

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

created by
Zhenhuan Hu
script type
This is a fork of the numbers.vim plugin originally developed by Mahdi Yusuf.
The majority of the plugin codes have been rewritten, including bug fixes and
an alternative approach to determine whether a number column is needed.
Manual toggle commands have been removed from the original plugin.

This plugin alternates between relative numbering (`relativenumber`) and
absolute numbering (`number`) for the active window depending on the current
mode. Relative numbering is used in `Normal` mode while absolute numbering is
used in `Insert` mode. In a GUI, it also functions based on whether or not the
app has focus.

Git repository: https://github.com/akanosora/vimfiles/tree/master/bundle/vim-numbers
Original version repository: https://github.com/myusuf3/numbers.vim
install details
Unpack and copy all files to ~/.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-numbers.zip 1.0.1 2017-02-10 7.4 Zhenhuan Hu Minor bug fix.
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.
Vim at Github