" VISH v0.2 by Matt Corks and Nick Harvey " Notes: " This file uses _ as a `metacharacter', you may need to switch this to " something you don't normally use to avoid ambiguous mappings. " Bugs: " using ! means the command pwd is run twice, but only deleted once- " I should be using :pwd somehow cmap vish ma_setenter:new_fix cmap noshell :iunmap :iunmap :iunmap :iunmap :" Thanks for flying vish! map _setenter :imap _enter map _fix :set noai nosi bs=1:r!pwd"pd$dd;go map ;go Go"pPyypI:cd 0"add@a_setenterA% A map _enter :iunmap A mayypA#0f#Do:s#^"ppA% ##"add@ayypO_notexit_exitexit'a;ife map _exit :q!:noshell imap _exit imap mao:r!echo k$By$j$pA*\|fmt"add@a'ayyGpA imap foo! map _notexit jyypA foo0yeoPO_notnew_newnew'a;ife map _notnew jj0lDO_notinter_inter:'a;ife map _new jjdd0dwI:new "add@a map _inter 'aj0xA :s/[ \|]/\\\\&/g$xx ";go map _notinter 'ajyypO_notclear_clearclear'a;ife map _clear jdd;gozA map _notclear 'ajo k:.,$s/^[ ]*$/:/'ajjdd'aji:r!A;pwd0"add'a@a0"pd$dd;go map ;ife mzGkyyGpp0i:.,$s#^A$#4k0y$G$pA#0"zd$ddkyyp@zGddkyyGp0i:.,$s#^A$#5k0y$G$pA#0"zd$ddk@zGkdd3k3dd"zd$dd`z@z