VimSum : Simple visual mode arithmetic in Vim
script karma |
Rating 1/1,
Downloaded by 726 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
will gurecky |
|
script type |
utility |
|
description |
Github page with example use:
https://github.com/wgurecky/vimSum
VimSum is a collection of simple scripts that provide the ability to perform basic calculations in vim.
The scripts can be used on columns of numbers by selecting them in visual mode. The scripts also can operate on mixed number/word paragraphs (only operating on numbers). The format of numbers in text may also be adjusted using the VisMult or VisMath script.
Common use cases:
- Multiply many numbers by a constant. Encountered when changing units.
- Compute sum or mean of column in text file and immediately paste result back into text.
- Perform basic arithmetic on a column of numbers.
- Change format of numbers in text e.g. from scientific notation to decimal format.
Inspired by visSum.vim by erik falor. |
|
install details |
Requires vim built with +python |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 18.97.9.172
|