math : Math keymap and a menu for inserting math symbols
script karma 
Rating 23/8,
Downloaded by 1241

Comments, bugs, improvements

Vim wiki

created by 
Charles Campbell 

script type 
utility 

description 
This plugin has three parts, a keymap, a menu for inserting math symbols, and a few maps. The characters produced are in utf8.
The Keymap:
:set kmp=math
Uses vim's keymap support to define key sequences which elicit Greek
upper case and lower case symbols, superscripts, subscripts, "vulgar"
fractions, arrows, grouping symbols, operators, relational symbols,
set symbols, and of course the ever popular miscellaneous.
The Menu:
To enable the menu, use the mouse to select [DrChip.MathKeys.Enable].
This menu operates in the insert/replace/ex mode; when in insert/replace/ex,
use the mouse to select a symbol from the various menus and it will be
inserted.
The Maps:
While in visual block mode, and if :MathStart has been run:
_ will make various symbols into subscript symbols (numbers, vowels)
^ will make various symbols into superscript symbols
& will transform symbols into related math symbols ( into a division line, roman alphabet into Greek, etc)
(alpha/beta version available at http://www.drchip.org/astronaut/vim/index.html#MATH)


install details 
vim math.vba.gz
:so %
:q


script versions (upload new version)
Click on the package to download.
math.vba.gz 
3 
20100304 
7.0 
Charles Campbell 
more symbols and new visualmode maps (& ^ _ ) to facilitate math symbol production! Example: x2 , put cursor on the 2, press v^ and you've got x² (for those whose browsers don't grok utf8, that 2 is a superscript)

math.vba.gz 
2 
20091106 
7.0 
Charles Campbell 
More symbols and exmode support 
math.vba.gz 
1 
20090729 
7.0 
Charles Campbell 
Initial upload with GetLatestVimScripts support 
ip used for rating: 54.234.41.243
