Skip to content

Very simple Vim plugin to toggle between relative and absolute line numbers

License

Notifications You must be signed in to change notification settings

fullybaked/toggle-numbers.vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Vim 7.3 introduced the excellent concept of relative line numbers that allow for very easy motions without having to count lines, but sometimes its just plain useful to have the normal absolute line numbers in place.

Toggle-Numbers.vim is a very simple plugin that lets you switch between relative and absolute line numbers at ease

Requirements

  • Vim 7.3+

## Installation

I prefer to manage my Vim bundles with pathogen.vim, so if you have this installed already, installing this plugin is as easy as

cd ~/.vim/bundle
git clone https://

Manual install would be to

Usage

There is only one command exposed by this plugin, which is :LineNumberToggle. By default it is bound to <Ctrl-n>, but can easily be changed in your own vimrc file.

## License

Copyright © Dave Baker. Distributed under the MIT license

About

Very simple Vim plugin to toggle between relative and absolute line numbers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published