kamaraju kusumanchi wrote: > For normal editing purposes, I use vim and it works great. But once in > a while, I want to use subscripts and superscripts. For example, while > writing chemical equations I would like to see O with a subscript 2 to > represent the Oxygen molecule. Without using heavy weight stuff such > as Latex, could I somehow make vim/gvim show subscripts and > superscripts? >
With my math plugin (see http://www.drchip.org/astronaut/vim/index.html#MATH), one may use visual mode on a digit and press "_" to make it into a subscript and press "^" to make it into a superscript. Use visual mode to select a alphameric character and press "&" to make it into a corresponding Greek character. Use visual mode on a "->" or "<-" and transform it into a nice Utf-8 arrow. Chip Campbell -- -- 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/d/optout.
