On Tue, May 31, 2016 at 1:33 AM, Markus Osterhoff <[email protected]> wrote: > * kamaraju kusumanchi <[email protected]> [160531 06:46]: >> Without using heavy weight stuff such as Latex, could I somehow make >> vim/gvim show subscripts and superscripts? > For single digits and using UTF-8 encoding, this is possible with vim's > digraphs. In insert mode, press > CTRL-K, then the digit, then S (cap S) → ⁰¹²...⁹ for superscripts, > or > CTRL-K, then the digit, then s (small s) → ₀₁₂...₉ for subscripts. > > Btw., for chemical reactions you might try these nice arrows: > ← → ↔ with CTRL-K <- and -> and <> > > Use :help digraph or simply :digraphs for more. >
Thanks mo. It works great and exactly what I need. raju -- -- 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.
