sponsor Vim development Vim logo Vim Book Ad

calculator.vim : Calculator inside of Vim

 script karma  Rating 4/6, Downloaded by 118  Comments, bugs, improvements  Vim wiki

created by
Leonid Fedorenchik
 
script type
utility
 
description
Real calculator inside vim. It supports arbitrary complex arithmetics, expressions, variables, logic statements and loops.

Some examples:

> 5+4
9.0
> 7 * sqrt(4)
14.0
 
install details
I recommend using Vim's native package management functionality: simply run following commands:

mkdir -p ~/.vim/pack/bundle/start
cd ~/.vim/pack/bundle/start
git clone https://github.com/fedorenchik/calculator.vim.git
vim -c 'helptags ALL' -c 'q'

Otherwise use your favourite package manager for 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
calculator.vim-1.0.zip v1.0 2019-07-30 8.0 Leonid Fedorenchik Initial upload
ip used for rating: 3.94.129.211

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