sponsor Vim development Vim logo Vim Book Ad

HowMuch : A Vim calculator for visual selections

 script karma  Rating 0/0, Downloaded by 135    Comments, bugs, improvements  Vim wiki

created by
Kent Yuan
 
script type
utility
 
description
Project Home: https://github.com/sk1418/HowMuch


##Introduction
`HowMuch` is a Vim plugin to calculate visual selected mathematical formulars (vim or bc expressions). It will add the result(or replace the selected expressions) in the current edit text. For details check next section: Features

##Features

- Supports all visual selection modes (char-/line-/block-wise)
- Supports two output formats:
    >> - append result with/out `=` after the expression
    >>- replace the selected expressions with result
- Supports sum total result in line-(`V`) and block-wise (`Ctrl-V`)selection
- You can create custom mapping to invoke `HowMuch`
- *Evaluation "Engines"* (The expression evaluator)
     >>- `HowMuch` supports `GNU bc`, `python` and `native vim` expressions evaluation engines,
     >>- You can choose which engine should be used to evaluate current visual section.
     >>- You can define the order of the engines, and let `HowMuch` do evaluation automatically. E.g. if `bc` fails, try `vim` again.
     >>- You can add your own engines or modify the built-in engines. read documentation for details.

**!Please read plugin documentation (HowMuch-config section) for options, mappings**

##Examples & Screencasts

Demo animation (gif) could be found at Project Home page(https://github.com/sk1418/HowMuch). The gif files were packed in the release archive as well.
 
install details
extract the archive into ~/.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
HowMuch.tar.gz 1.0.0 2013-11-06 7.3 Kent Yuan Initial upload
ip used for rating: 54.196.88.85

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.
   
SourceForge.net Logo