Friday, January 20, 2012

replace x^y by pow(x, y)

I found a very useful in-line calculator in
http://vimrc-dissection.blogspot.com/2011/01/vim-inline-calculator-revisited.html

Is it possible to improve it such that it can handle power syntax,
like 2.2^3.4
I know power can be written as pow(x,y) in vim.
But, using ^ to donate power can make the same equation work in
matlab.
And this way is more nature to me.


--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: