VIM latex

opino

opino

Tripel-As
Warum macht VIM bei mit immer <++> wenn ich zum Beispiel $$ geschrieben habe.
(wo stelle ich das an und aus?)

Ist es möglich mit dem Standart-VIM der in dem Debian drin ist per Tastenkürzel
komplexe Latex Befehle zu erstellen? Also sprich ich drücke die anykey taste und
schwups habe ich eine komplette tabellen umgebung in meinem Text.
 
Ich kenne konkret nur zwei Möglichkeiten, wie man das umsetzen könnte.

In VIM gibt es sog. Abbreviations

register
Code:
abbr <abbreviation> <expansion>
z.B. abbr gatt General Agreement on Tariffs and Trade

unregister
Code:
unabbr gatt

Und dann gibt's noch die Macros
Recording macros

Occasionally, you'll find yourself doing the same thing over and over to blocks of text in your document. vim will let you record an ad-hoc macro to perform the operation.

qregister Start macro recording into the named register. For instance, qa starts recording and puts the macro into register a.
q End recording.
@register Replay the macro stored in the named register. For instance, @a replays the macro in register a.

Keep in mind that macros just record your keystrokes and play them back; they are not magic. Recording macros is almost an art form because there are so many commands that accomplish a given task in vim, and you must carefully select the commands you use while your macro is recording so that they will work in all the places you plan to execute the macro.
 
Kann man mit vimlatex auch gleich eine Vorschau darstellen, oder bekommt man nur texthighliting?
 

Ähnliche Themen

Linux "vergisst" Dateisystem?

[HowTo] Debian Installation mit Installer über SSH

Server's Power

[HowTo] NVidia und 3D unter SuSE/openSUSE

eingaberoutine in bash - space mit read

Zurück
Oben