Thank you Gary, that is very clever and works great. I have commented and add setting precision best viewed in a monospaced font. Please let me know if I commented correctly.
imap ,= <esc>I2k <esc>0y$!!dc<cr>I = <esc>0PA " ''''' | |||| | ||+append result to eol " ''''' | |||| | |+put calc " ''''' | |||| | +back to sol " ''''' | |||| +insert " = " at sol " ''''' | |||+pass calc to dc " ''''' | ||+eol " ''''' | |+yank calc to eol " ''''' | +back to sol " ''''' +insert precision at sol Bill -- -- 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 --- You received this message because you are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
