Skip to content

rhysd/vim-numberstar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

Search numbers quickly with *

This Vim plugin makes normal mode mapping * match number representations such as -123, 12.5, 10e5, 0x10. I made this mapping because original * mapping can't match them and it's inconvenient when I want to search magic numbers in a file.

This plugin never override any mappings. So you should write setting in your vimrc as you like.

Vimrc setting example

nnoremap <expr>*  numberstar#key('*')
nnoremap <expr>#  numberstar#key('#')
nnoremap <expr>g* numberstar#key('g*')
nnoremap <expr>#* numberstar#key('#*')

This plugin is distributed under the MIT License.

About

A Vim plugin to search numbers quickly with '*' mapping.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published