Quick calculator in Vim. Visual select your formula, call the calulator, result will be printed under right cursor.
TODO(vim screen demo)
Set hotkey in a visual mode for calling Vimath function
xmap <silent> t :call VimathCalc()<CR>
Select the formula in visual, press shortcut key. Result will be system()'ed to an external calculator command
under your cursor.
Define a single-variable function f(x) stored in register. Use Visual Mode to assign value to x, press u to calculate f(x).
sqrt(l(e(2)))^(1+1)