![]() |
|
|||||||
| Newsgroup de.comp.editoren Text- und Hexeditoren. |
![]() |
|
|
Themen-Optionen | Ansicht |
|
#1
|
|||
|
|||
|
Servus,
bitte um Hilfe fuer die Anwendung von inoremap \fn <C-R>=expand("%:t:r")<CR> (soll die Dateivariable anzeigen) Wie rufe ich diesen Befehl auf? Was ist die Direktive \fn? Ein Zeiger auf eine Funktion namens expand? Wie kann ich direkt im Vim direkt die Dateivariable anzeigen, ohne Mapping? Also, map-Befehle kenne ich inzwischen, z.B map <F3> :set guifont=Fixedsys Das wird einfach mit F3 aufgerufen. Danke fuer einen Hinweis, Volker |
|
|
||||
|
||||
|
|
|
#2
|
|||
|
|||
|
Thus spake Volker (val38*web.de):
> bitte um Hilfe fuer die Anwendung von > inoremap \fn <C-R>=expand("%:t:r")<CR> > (soll die Dateivariable anzeigen) > > Wie rufe ich diesen Befehl auf? Kommt drauf an. <http://vimdoc.sourceforge.net/htmldoc/map.html#mapleader> Wenn <Leader> nicht von Dir geändert wurde, dann ist es ``\''. Also im insert-mode \fn drücken. > Was ist die Direktive \fn? Ein Zeiger auf eine Funktion namens expand? \fn ist in dem Fall eine Tastenkombination die expand() aufruft, ja. > Wie kann ich direkt im Vim direkt die Dateivariable anzeigen, ohne Mapping? Was ist eine Dateivariable bzw. was genau verstehst Du darunter? -- Linux is for people who hate Windows | Christian 'strcat' Schneider FreeBSD is for people who hate Linux | http://www.strcat.de/ NetBSD is for people who hate OpenBSD | http://www.strcat.de/blog/ OpenBSD is for people who hate everything | http://www.strcat.de/rtfm/ |
|
|
|
|
![]() |
| Themen-Optionen | |
| Ansicht | |
|
|
Ähnliche Themen
|
||||
| Thema | Erstellt von | Forum | Antworten | Letzter Beitrag |
| vim: expand/collapse? | Volker | Newsgroup de.comp.editoren | 1 | 07-05-2009 01:22 PM |
| expand message log | Franz Chernjak | Newsgroup microsoft.public.de.sqlserver | 2 | 02-23-2009 01:41 PM |
| Expand | Edmund Pfahls | Newsgroup microsoft.public.de.german.windowsxp.sonstiges | 8 | 08-19-2008 05:36 PM |
| TreeView und Expand() | Daniel Birkmaier | Newsgroup microsoft.public.de.german.entwickler.dotnet.csharp | 3 | 03-25-2008 02:23 PM |
| French newspaper: Scientology expands in Europe while Germany liessaying it would no expand. If it would not expand, why would the Germangovernment try to unconstitutionally ban Scientology? | FlyingMaidenOfHeavenFlying@gmail.com | Newsgroup de.soc.weltanschauung.scientology | 0 | 12-13-2007 03:53 AM |