FANDOM


(marking dodgy (somebody will need to decipher the script as well as the english) and adding category)
(Remove html character entities)
 
(One intermediate revision by one user not shown)
Line 10: Line 10:
 
|version=5.7
 
|version=5.7
 
|rating=6/3
 
|rating=6/3
  +
|category1=Integration
  +
|category2=
 
}}
 
}}
 
You can - like me - use gvim, like replacement of internal AutoCad MTEXT editor. You need switch variable MTEXTED to "gvim" (or maybe fullpath, something like "c:\vim\vim60aq\gvim" ), and to your _vimrc you can put line:
 
You can - like me - use gvim, like replacement of internal AutoCad MTEXT editor. You need switch variable MTEXTED to "gvim" (or maybe fullpath, something like "c:\vim\vim60aq\gvim" ), and to your _vimrc you can put line:
Line 27: Line 29:
 
"brz; mailto:brz@centrum.cz; 8. 8. 2001
 
"brz; mailto:brz@centrum.cz; 8. 8. 2001
 
" Version Mk.I
 
" Version Mk.I
imenu &AutoCad.Insert.Space \~
+
imenu &AutoCad.Insert.Space \~
vmenu &AutoCad.Insert.Space <Esc>`<i\~<Esc>%
+
vmenu &AutoCad.Insert.Space <Esc>`<i\~<Esc>%
imenu &amp;AutoCad.Insert.Backslash \\
+
imenu &AutoCad.Insert.Backslash \\
vmenu &amp;AutoCad.Insert.Backslash &lt;Esc&gt;`&lt;i\\&lt;Esc&gt;%
+
vmenu &AutoCad.Insert.Backslash <Esc>`<i\\<Esc>%
imenu &amp;AutoCad.Insert.Brackets \{\}&lt;Esc&gt;F\i
+
imenu &AutoCad.Insert.Brackets \{\}<Esc>F\i
vmenu &amp;AutoCad.Insert.Brackets &lt;Esc&gt;`&gt;a\}&lt;Esc&gt;`&lt;i\{&lt;Esc&gt;%
+
vmenu &AutoCad.Insert.Brackets <Esc>`>a\}<Esc>`<i\{<Esc>%
imenu &amp;AutoCad.Insert.Paragraph \P
+
imenu &AutoCad.Insert.Paragraph \P
vmenu &amp;AutoCad.Insert.Paragraph &lt;Esc&gt;`&gt;a\P&lt;Esc&gt;%
+
vmenu &AutoCad.Insert.Paragraph <Esc>`>a\P<Esc>%
imenu &amp;AutoCad.-SEP1- :
+
imenu &AutoCad.-SEP1- :
imenu &amp;AutoCad.Colour.Red \C1;
+
imenu &AutoCad.Colour.Red \C1;
vmenu &amp;AutoCad.Colour.Red &lt;Esc&gt;`&gt;a\C7;&lt;Esc&gt;`&lt;i\C1;&lt;Esc&gt;%
+
vmenu &AutoCad.Colour.Red <Esc>`>a\C7;<Esc>`<i\C1;<Esc>%
imenu &amp;AutoCad.Colour.Yellow \C2;
+
imenu &AutoCad.Colour.Yellow \C2;
vmenu &amp;AutoCad.Colour.Yellow &lt;Esc&gt;`&gt;a\C7;&lt;Esc&gt;`&lt;i\C2;&lt;Esc&gt;%
+
vmenu &AutoCad.Colour.Yellow <Esc>`>a\C7;<Esc>`<i\C2;<Esc>%
imenu &amp;AutoCad.Colour.Green \C3;
+
imenu &AutoCad.Colour.Green \C3;
vmenu &amp;AutoCad.Colour.Green &lt;Esc&gt;`&gt;a\C7;&lt;Esc&gt;`&lt;i\C3;&lt;Esc&gt;%
+
vmenu &AutoCad.Colour.Green <Esc>`>a\C7;<Esc>`<i\C3;<Esc>%
imenu &amp;AutoCad.Colour.Cyan \C4;
+
imenu &AutoCad.Colour.Cyan \C4;
vmenu &amp;AutoCad.Colour.Cyan &lt;Esc&gt;`&gt;a\C7;&lt;Esc&gt;`&lt;i\C4;&lt;Esc&gt;%
+
vmenu &AutoCad.Colour.Cyan <Esc>`>a\C7;<Esc>`<i\C4;<Esc>%
imenu &amp;AutoCad.Colour.Blue \C5;
+
imenu &AutoCad.Colour.Blue \C5;
vmenu &amp;AutoCad.Colour.Blue &lt;Esc&gt;`&gt;a\C7;&lt;Esc&gt;`&lt;i\C5;&lt;Esc&gt;%
+
vmenu &AutoCad.Colour.Blue <Esc>`>a\C7;<Esc>`<i\C5;<Esc>%
imenu &amp;AutoCad.Colour.Violet \C6;
+
imenu &AutoCad.Colour.Violet \C6;
vmenu &amp;AutoCad.Colour.Violet &lt;Esc&gt;`&gt;a\C7;&lt;Esc&gt;`&lt;i\C6;&lt;Esc&gt;%
+
vmenu &AutoCad.Colour.Violet <Esc>`>a\C7;<Esc>`<i\C6;<Esc>%
imenu &amp;AutoCad.Colour.Black \C7;
+
imenu &AutoCad.Colour.Black \C7;
vmenu &amp;AutoCad.Colour.Black &lt;Esc&gt;`&gt;a\C7;&lt;Esc&gt;`&lt;i\C7;&lt;Esc&gt;%
+
vmenu &AutoCad.Colour.Black <Esc>`>a\C7;<Esc>`<i\C7;<Esc>%
imenu &amp;AutoCad.Colour.D_Grey \C8;
+
imenu &AutoCad.Colour.D_Grey \C8;
vmenu &amp;AutoCad.Colour.D_Grey &lt;Esc&gt;`&gt;a\C7;&lt;Esc&gt;`&lt;i\C8;&lt;Esc&gt;%
+
vmenu &AutoCad.Colour.D_Grey <Esc>`>a\C7;<Esc>`<i\C8;<Esc>%
imenu &amp;AutoCad.Colour.L_Grey \C9;
+
imenu &AutoCad.Colour.L_Grey \C9;
vmenu &amp;AutoCad.Colour.L_Grey &lt;Esc&gt;`&gt;a\C7;&lt;Esc&gt;`&lt;i\C9;&lt;Esc&gt;%
+
vmenu &AutoCad.Colour.L_Grey <Esc>`>a\C7;<Esc>`<i\C9;<Esc>%
imenu &amp;AutoCad.Font.Arial \fArial;
+
imenu &AutoCad.Font.Arial \fArial;
vmenu &amp;AutoCad.Font.Arial &lt;Esc&gt;`&lt;i\fArial;&lt;Esc&gt;%
+
vmenu &AutoCad.Font.Arial <Esc>`<i\fArial;<Esc>%
imenu &amp;AutoCad.Font.Symbol \Fsymbol;
+
imenu &AutoCad.Font.Symbol \Fsymbol;
vmenu &amp;AutoCad.Font.Symbol &lt;Esc&gt;`&lt;i\Fsymbol;&lt;Esc&gt;%
+
vmenu &AutoCad.Font.Symbol <Esc>`<i\Fsymbol;<Esc>%
imenu &amp;AutoCad.Font.RomanC \Fromanc;
+
imenu &AutoCad.Font.RomanC \Fromanc;
imenu &amp;AutoCad.Font.RomanC &lt;Esc&gt;`&lt;i\Fromanc;&lt;Esc&gt;%
+
imenu &AutoCad.Font.RomanC <Esc>`<i\Fromanc;<Esc>%
imenu &amp;AutoCad.Font.RomanS \Fromans;
+
imenu &AutoCad.Font.RomanS \Fromans;
vmenu &amp;AutoCad.Font.RomanS &lt;Esc&gt;`&lt;i\Fromans;&lt;Esc&gt;%
+
vmenu &AutoCad.Font.RomanS <Esc>`<i\Fromans;<Esc>%
imenu &amp;AutoCad.Font.RomanD \Fromand;
+
imenu &AutoCad.Font.RomanD \Fromand;
vmenu &amp;AutoCad.Font.RomanD &lt;Esc&gt;`&lt;i\Fromand;&lt;Esc&gt;%
+
vmenu &AutoCad.Font.RomanD <Esc>`<i\Fromand;<Esc>%
imenu &amp;AutoCad.Font.RomanT \Fromant;
+
imenu &AutoCad.Font.RomanT \Fromant;
vmenu &amp;AutoCad.Font.RomanT &lt;Esc&gt;`&lt;i\Fromant;&lt;Esc&gt;%
+
vmenu &AutoCad.Font.RomanT <Esc>`<i\Fromant;<Esc>%
imenu &amp;AutoCad.Size.0_5x \H0.5x;
+
imenu &AutoCad.Size.0_5x \H0.5x;
vmenu &amp;AutoCad.Size.0_5x &lt;Esc&gt;`&lt;i\H0.5x;&lt;Esc&gt;%
+
vmenu &AutoCad.Size.0_5x <Esc>`<i\H0.5x;<Esc>%
imenu &amp;AutoCad.Size.1_5x \H1.5x;
+
imenu &AutoCad.Size.1_5x \H1.5x;
vmenu &amp;AutoCad.Size.1_5x &lt;Esc&gt;`&lt;i\H1.5x;&lt;Esc&gt;%
+
vmenu &AutoCad.Size.1_5x <Esc>`<i\H1.5x;<Esc>%
imenu &amp;AutoCad.Size.2x \H2x;
+
imenu &AutoCad.Size.2x \H2x;
vmenu &amp;AutoCad.Size.2x &lt;Esc&gt;`&lt;i\H2x;&lt;Esc&gt;%
+
vmenu &AutoCad.Size.2x <Esc>`<i\H2x;<Esc>%
imenu &amp;AutoCad.Size.3x \H3x;
+
imenu &AutoCad.Size.3x \H3x;
vmenu &amp;AutoCad.Size.3x &lt;Esc&gt;`&lt;i\H3x;&lt;Esc&gt;%
+
vmenu &AutoCad.Size.3x <Esc>`<i\H3x;<Esc>%
imenu &amp;AutoCad.Effects.Set_Out_1_5 \T1.5;
+
imenu &AutoCad.Effects.Set_Out_1_5 \T1.5;
vmenu &amp;AutoCad.Effects.Set_Out_1_5 &lt;Esc&gt;`&gt;a\T1;&lt;Esc&gt;`&lt;i\T1.5;&lt;Esc&gt;%
+
vmenu &AutoCad.Effects.Set_Out_1_5 <Esc>`>a\T1;<Esc>`<i\T1.5;<Esc>%
imenu &amp;AutoCad.Effects.Set_Out_2 \T2;
+
imenu &AutoCad.Effects.Set_Out_2 \T2;
vmenu &amp;AutoCad.Effects.Set_Out_2 &lt;Esc&gt;`&gt;a\T1;&lt;Esc&gt;`&lt;i\T2;&lt;Esc&gt;%
+
vmenu &AutoCad.Effects.Set_Out_2 <Esc>`>a\T1;<Esc>`<i\T2;<Esc>%
imenu &amp;AutoCad.Effects.-SEP3- :
+
imenu &AutoCad.Effects.-SEP3- :
imenu &amp;AutoCad.Effects.Tilt_15deg \Q15;
+
imenu &AutoCad.Effects.Tilt_15deg \Q15;
vmenu &amp;AutoCad.Effects.Tilt_15deg &lt;Esc&gt;`&gt;a\Q0;&lt;Esc&gt;`&lt;i\Q10;&lt;Esc&gt;%
+
vmenu &AutoCad.Effects.Tilt_15deg <Esc>`>a\Q0;<Esc>`<i\Q10;<Esc>%
imenu &amp;AutoCad.Effects.Tilt_20deg \Q20;
+
imenu &AutoCad.Effects.Tilt_20deg \Q20;
vmenu &amp;AutoCad.Effects.Tilt_20deg &lt;Esc&gt;`&gt;a\Q0;&lt;Esc&gt;`&lt;i\Q20;&lt;Esc&gt;%
+
vmenu &AutoCad.Effects.Tilt_20deg <Esc>`>a\Q0;<Esc>`<i\Q20;<Esc>%
imenu &amp;AutoCad.Effects.Tilt_30deg \Q30;
+
imenu &AutoCad.Effects.Tilt_30deg \Q30;
vmenu &amp;AutoCad.Effects.Tilt_30deg &lt;Esc&gt;`&gt;a\Q0;&lt;Esc&gt;`&lt;i\Q30;&lt;Esc&gt;%
+
vmenu &AutoCad.Effects.Tilt_30deg <Esc>`>a\Q0;<Esc>`<i\Q30;<Esc>%
imenu &amp;AutoCad.Effects.-SEP4- :
+
imenu &AutoCad.Effects.-SEP4- :
imenu &amp;AutoCad.Effects.Change_Width_0_5x \W0.5;
+
imenu &AutoCad.Effects.Change_Width_0_5x \W0.5;
vmenu &amp;AutoCad.Effects.Change_Width_0_5x &lt;Esc&gt;`&gt;a\W1;&lt;Esc&gt;`&lt;i\W0.5;&lt;Esc&gt;%
+
vmenu &AutoCad.Effects.Change_Width_0_5x <Esc>`>a\W1;<Esc>`<i\W0.5;<Esc>%
imenu &amp;AutoCad.Effects.Change_Width_2x \W2;
+
imenu &AutoCad.Effects.Change_Width_2x \W2;
vmenu &amp;AutoCad.Effects.Change_Width_2x &lt;Esc&gt;`&gt;a\W1;&lt;Esc&gt;`&lt;i\W2;&lt;Esc&gt;%
+
vmenu &AutoCad.Effects.Change_Width_2x <Esc>`>a\W1;<Esc>`<i\W2;<Esc>%
imenu &amp;AutoCad.Effects.-SEP5- :
+
imenu &AutoCad.Effects.-SEP5- :
imenu &amp;AutoCad.Effects.Justify_Down \A0;
+
imenu &AutoCad.Effects.Justify_Down \A0;
vmenu &amp;AutoCad.Effects.Justify_Down &lt;Esc&gt;`&lt;i\A0;&lt;Esc&gt;%
+
vmenu &AutoCad.Effects.Justify_Down <Esc>`<i\A0;<Esc>%
imenu &amp;AutoCad.Effects.Justify_Middle \A1;
+
imenu &AutoCad.Effects.Justify_Middle \A1;
vmenu &amp;AutoCad.Effects.Justify_Middle &lt;Esc&gt;`&lt;i\A1;&lt;Esc&gt;%
+
vmenu &AutoCad.Effects.Justify_Middle <Esc>`<i\A1;<Esc>%
imenu &amp;AutoCad.Effects.Justify_Up \A2;
+
imenu &AutoCad.Effects.Justify_Up \A2;
vmenu &amp;AutoCad.Effects.Justify_Up &lt;Esc&gt;`&lt;i\A2;&lt;Esc&gt;%
+
vmenu &AutoCad.Effects.Justify_Up <Esc>`<i\A2;<Esc>%
imenu &amp;AutoCad.Effects.Overlined_Characters \O\o&lt;Esc&gt;F\i
+
imenu &AutoCad.Effects.Overlined_Characters \O\o<Esc>F\i
vmenu &amp;AutoCad.Effects.Overlined_Characters &lt;Esc&gt;`&gt;a\O&lt;Esc&gt;`&lt;i\o&lt;Esc&gt;%
+
vmenu &AutoCad.Effects.Overlined_Characters <Esc>`>a\O<Esc>`<i\o<Esc>%
imenu &amp;AutoCad.Effects.Underlined_Characters \L\l&lt;Esc&gt;F\i
+
imenu &AutoCad.Effects.Underlined_Characters \L\l<Esc>F\i
vmenu &amp;AutoCad.Effects.Underlined_Characters &lt;Esc&gt;`&gt;a\l&lt;Esc&gt;`&lt;i\L&lt;Esc&gt;%
+
vmenu &AutoCad.Effects.Underlined_Characters <Esc>`>a\l<Esc>`<i\L<Esc>%
imenu &amp;AutoCad.Effects.Index_Top \S^;
+
imenu &AutoCad.Effects.Index_Top \S^;
imenu &amp;AutoCad.-SEP6- :
+
imenu &AutoCad.-SEP6- :
imenu &amp;AutoCad.Help &lt;CR&gt;&lt;CR&gt;***Quit Editor: press Alt-F4 and 'No' ***&lt;CR&gt;&lt;CR&gt;
+
imenu &AutoCad.Help <CR><CR>***Quit Editor: press Alt-F4 and 'No' ***<CR><CR>
 
</pre>
 
</pre>
   
 
==Comments==
 
==Comments==
 
----
 
[[Category:Integration]]
 

Latest revision as of 08:26, September 28, 2008

Tip 96 Printable Monobook Previous Next

created August 8, 2001 · complexity intermediate · author brz · version 5.7


You can - like me - use gvim, like replacement of internal AutoCad MTEXT editor. You need switch variable MTEXTED to "gvim" (or maybe fullpath, something like "c:\vim\vim60aq\gvim" ), and to your _vimrc you can put line:

autocmd BufRead,BufNewFile *.tmp source c:\vim\aacad.vim

And when you edit MTEXT in acad, menu AutoCad will be for your use in gvim (only in INSERT and VISUAL mode)

NOTE: Only I can't start gvim like gvim -y (for any other person, not so accustomed vith gvim) or start gvim from gvim.lnk or gvim.bat (I'am using windows95) and automatic skip to INSERT mode -latest word star, on end of script- is without functionality(?) Maybe someone advise me??

Well, script aacad.vim is listed here:

"VIM menu for AutoCad's MTEXT editation
"brz; mailto:brz@centrum.cz; 8. 8. 2001
" Version Mk.I
imenu &AutoCad.Insert.Space \~
vmenu &AutoCad.Insert.Space <Esc>`<i\~<Esc>%
imenu &AutoCad.Insert.Backslash \\
vmenu &AutoCad.Insert.Backslash <Esc>`<i\\<Esc>%
imenu &AutoCad.Insert.Brackets \{\}<Esc>F\i
vmenu &AutoCad.Insert.Brackets <Esc>`>a\}<Esc>`<i\{<Esc>%
imenu &AutoCad.Insert.Paragraph \P
vmenu &AutoCad.Insert.Paragraph <Esc>`>a\P<Esc>%
imenu &AutoCad.-SEP1- :
imenu &AutoCad.Colour.Red \C1;
vmenu &AutoCad.Colour.Red <Esc>`>a\C7;<Esc>`<i\C1;<Esc>%
imenu &AutoCad.Colour.Yellow \C2;
vmenu &AutoCad.Colour.Yellow <Esc>`>a\C7;<Esc>`<i\C2;<Esc>%
imenu &AutoCad.Colour.Green \C3;
vmenu &AutoCad.Colour.Green <Esc>`>a\C7;<Esc>`<i\C3;<Esc>%
imenu &AutoCad.Colour.Cyan \C4;
vmenu &AutoCad.Colour.Cyan <Esc>`>a\C7;<Esc>`<i\C4;<Esc>%
imenu &AutoCad.Colour.Blue \C5;
vmenu &AutoCad.Colour.Blue <Esc>`>a\C7;<Esc>`<i\C5;<Esc>%
imenu &AutoCad.Colour.Violet \C6;
vmenu &AutoCad.Colour.Violet <Esc>`>a\C7;<Esc>`<i\C6;<Esc>%
imenu &AutoCad.Colour.Black \C7;
vmenu &AutoCad.Colour.Black <Esc>`>a\C7;<Esc>`<i\C7;<Esc>%
imenu &AutoCad.Colour.D_Grey \C8;
vmenu &AutoCad.Colour.D_Grey <Esc>`>a\C7;<Esc>`<i\C8;<Esc>%
imenu &AutoCad.Colour.L_Grey \C9;
vmenu &AutoCad.Colour.L_Grey <Esc>`>a\C7;<Esc>`<i\C9;<Esc>%
imenu &AutoCad.Font.Arial \fArial;
vmenu &AutoCad.Font.Arial <Esc>`<i\fArial;<Esc>%
imenu &AutoCad.Font.Symbol \Fsymbol;
vmenu &AutoCad.Font.Symbol <Esc>`<i\Fsymbol;<Esc>%
imenu &AutoCad.Font.RomanC \Fromanc;
imenu &AutoCad.Font.RomanC <Esc>`<i\Fromanc;<Esc>%
imenu &AutoCad.Font.RomanS \Fromans;
vmenu &AutoCad.Font.RomanS <Esc>`<i\Fromans;<Esc>%
imenu &AutoCad.Font.RomanD \Fromand;
vmenu &AutoCad.Font.RomanD <Esc>`<i\Fromand;<Esc>%
imenu &AutoCad.Font.RomanT \Fromant;
vmenu &AutoCad.Font.RomanT <Esc>`<i\Fromant;<Esc>%
imenu &AutoCad.Size.0_5x \H0.5x;
vmenu &AutoCad.Size.0_5x <Esc>`<i\H0.5x;<Esc>%
imenu &AutoCad.Size.1_5x \H1.5x;
vmenu &AutoCad.Size.1_5x <Esc>`<i\H1.5x;<Esc>%
imenu &AutoCad.Size.2x \H2x;
vmenu &AutoCad.Size.2x <Esc>`<i\H2x;<Esc>%
imenu &AutoCad.Size.3x \H3x;
vmenu &AutoCad.Size.3x <Esc>`<i\H3x;<Esc>%
imenu &AutoCad.Effects.Set_Out_1_5 \T1.5;
vmenu &AutoCad.Effects.Set_Out_1_5 <Esc>`>a\T1;<Esc>`<i\T1.5;<Esc>%
imenu &AutoCad.Effects.Set_Out_2 \T2;
vmenu &AutoCad.Effects.Set_Out_2 <Esc>`>a\T1;<Esc>`<i\T2;<Esc>%
imenu &AutoCad.Effects.-SEP3- :
imenu &AutoCad.Effects.Tilt_15deg \Q15;
vmenu &AutoCad.Effects.Tilt_15deg <Esc>`>a\Q0;<Esc>`<i\Q10;<Esc>%
imenu &AutoCad.Effects.Tilt_20deg \Q20;
vmenu &AutoCad.Effects.Tilt_20deg <Esc>`>a\Q0;<Esc>`<i\Q20;<Esc>%
imenu &AutoCad.Effects.Tilt_30deg \Q30;
vmenu &AutoCad.Effects.Tilt_30deg <Esc>`>a\Q0;<Esc>`<i\Q30;<Esc>%
imenu &AutoCad.Effects.-SEP4- :
imenu &AutoCad.Effects.Change_Width_0_5x \W0.5;
vmenu &AutoCad.Effects.Change_Width_0_5x <Esc>`>a\W1;<Esc>`<i\W0.5;<Esc>%
imenu &AutoCad.Effects.Change_Width_2x \W2;
vmenu &AutoCad.Effects.Change_Width_2x <Esc>`>a\W1;<Esc>`<i\W2;<Esc>%
imenu &AutoCad.Effects.-SEP5- :
imenu &AutoCad.Effects.Justify_Down \A0;
vmenu &AutoCad.Effects.Justify_Down <Esc>`<i\A0;<Esc>%
imenu &AutoCad.Effects.Justify_Middle \A1;
vmenu &AutoCad.Effects.Justify_Middle <Esc>`<i\A1;<Esc>%
imenu &AutoCad.Effects.Justify_Up \A2;
vmenu &AutoCad.Effects.Justify_Up <Esc>`<i\A2;<Esc>%
imenu &AutoCad.Effects.Overlined_Characters \O\o<Esc>F\i
vmenu &AutoCad.Effects.Overlined_Characters <Esc>`>a\O<Esc>`<i\o<Esc>%
imenu &AutoCad.Effects.Underlined_Characters \L\l<Esc>F\i
vmenu &AutoCad.Effects.Underlined_Characters <Esc>`>a\l<Esc>`<i\L<Esc>%
imenu &AutoCad.Effects.Index_Top \S^;
imenu &AutoCad.-SEP6- :
imenu &AutoCad.Help <CR><CR>***Quit Editor: press Alt-F4 and 'No' ***<CR><CR>

CommentsEdit

Community content is available under CC-BY-SA unless otherwise noted.