AW: Tear off this menu in messages-history
Yongwei Wu wrote: Incidentally I find a lot of entries of Tear off this menu when I issue :messages. It turns out you may add such messages to the message history any time you open the menu, esp. when by using a keyboard shortcut. I am wondering these kind of messages should be echo'd instead of echomsg'd. Your opinions? I use GVIM 7.1 on Windows XP. I don't have an answer. I also have been wondering about these entries, also in gvim 6.x. [Win XP] Joachim ### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.f-secure.com/
gvim 7: german umlauts not found when :set ic (Windows)
I realized this by accident in gvim: Ignorecase works *correct*, except my Umlauts (äöüß). When I search for them in lowercase, these *are* found, when they are lowercase, but *not* when they are UPPERCASE. In my old gvim 6.2 they *are* found. Any Ideas? Probably a bug? Or a wrong codepage or something like that? Thank You Joachim Microsoft Windows XP VIM - Vi IMproved 7.0 (2006 May 7, compiled May 7 2006 16:21:39) MS-Windows 32 bit GUI version ### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.f-secure.com/
Deutscher Vim-Tutor 1.7 kurz vor der Freigabe
Hallo Freunde von vim oder die, die es werden wollen, der deutsche vimtutor wurde stark erweitert und somit an das englische Original angepaßt. Die Version ist 1.7. Für jeden entdeckten Fehler gibt es einen Punkt. Man kann sich den tutor einfach ansehen unter: http://freenet-homepage.de/schuttvim/tutor.de oder praktisch in Echtbedingung durcharbeiten (zum erlernen von vim empfehlenswert!): -) Kopiere die Datei tutor.de in das Vim-Runtime-Tutor-Verzeichnis (also z.B vim62\tutor\ oder vim70\tutor\, ältere tutor.de überschreiben) -) Starte die ausführbare Datei vimtutor im Runtime-Verzeichis (z.B. für Windows: vim70\vimtutor.bat) -) Durcharbeiten und viel Lernen, fertig. Gruß Joachim ### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.f-secure.com/
splitting buffer content to several files
Hello, I have a buffer consisting of many create view ... ... go blocks. How can I write these blocks somehow efficient to different files? Thank You Joachim ### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.f-secure.com/
codepage for vim 7 windows console
Hello, I now use vim 7 for DOS batching in WinXP. If I use umlaut (äöüß) in vim 7, it is displayed correctly. But vim 7 saves the buffer using the Windows Codepage, like gvim does! The buffer content is the same when saved by gvim and vim. So I cannot i.e. correctly display (echo) text with umlauts nor work with files/directories using umlauts ((of course I don't really)) Up to vim 7 vim behaved differently, saving the buffer using the DOS Codepage. What has changed now, or how can I workaround? Joachim VIM - Vi IMproved 7.0 (2006 May 7, compiled May 7 2006 16:18:30) MS-Windows 32 bit console version ### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.f-secure.com/
Re: External command with arguments (WinXP): cmd /c problem
Hm, this is strange, the windows shell cmd (not vim!) has problems with the following: cmd.exe /c C:\Programme\Microsoft Office\Office10\OUTLOOK.EXE /a c:\Dokumente und Einstellungen\hofjoa41\Eigene Dateien\test.txt - C:\Programme\Microsoft not found If I use the command above directly at the shell *without* the cmd /c part it works properly! I think I will ask also at alt.msdos.batch.nt if cmd /c has a special problem. Joachim ### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.f-secure.com/
AW: External command with arguments (WinXP): cmd /c problem workaround
-Ursprüngliche Nachricht- Von: A.J.Mechelynck [mailto:[EMAIL PROTECTED] If you replace Microsoft Office by its 8.3 equivalent (MICROS~1 or similar) OK, this works: C:\PROGRA~1\MI1933~1\OFFICE10\outlook.exe /a %:p I found this strange short path by calling command.com from cmd.com set to the desired path before. Thank You Joachim ### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.f-secure.com/
External command with arguments (WinXP)
Hello, at the shell cmd I can run the following to start ms outlook with a new mail window and attachment of a sql file: C:C:\Programme\Microsoft Office\Office10\OUTLOOK.EXE /a c:\vimtemp\trigger.sql How can I run this inside of vim to attach the current buffer? Thank You Joachim ### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.f-secure.com/
No Recognition of CR
Hello, if I source the following in a script, the CR is recognized literally and not as the CR-Key. So if I click the menu, the :source command appears on the bottom line with a literal CR instead of carrying the command out. (Works normally on other installations.) Why that? silent 11nmenu statt-werk\ SQL\ formatieren.sql0\ bis\ sqln\ erzeugen :source $VIMRUNTIME\macros\sql0bissqln.vimCR Thank You Joachim ### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.f-secure.com/
break option lines
Hello, is it possible in a vimrc for comma separated option strings like this one below to break: set dictionary=$VIM\SQLDict\BPMS_Stamm.txt,$VIM\SQLDict\BPMS_Mandant.txt,$VIM\SQL Dict\CBS_2005.txt,$VIM\SQLDict\ICCS_Net_Strommixer.txt,$VIM\SQLDict\DBS.txt,$ VIM\SQLDict\cbsbestenergy.txt,$VIM\SQLDict\iccs_2005.txt... many other files.. Thank You Joachim ### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.f-secure.com/
(C)ancel - Prompt hang
When i click the system exit button (x - cross) *or* I choose the system menu entry Exit, vim has the following behavior. Save changes to Untitled? [Y]es, (N)o, (C)ancel: When I press Y or N, all is ok. When I press C, the line Save changes to Untitled? remains and there is no cursor anywhere, until I then press ESC. Then the cursor appears in the buffer and the command line completely disappears. Pressing Enter at the [Y]es, (N)o, (C)ancel prompt makes vim write and exit. If I press Alt-F4 *directly*, the command line disappears and the cursor immediately draws back in the buffer, as I am expecting. VIM - Vi IMproved 7.0 MS-Windows 32 bit GUI version Joachim ### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.f-secure.com/
Re: cursor movement
-Ursprüngliche Nachricht- Von: Yakov Lerner [mailto:[EMAIL PROTECTED] On 9/18/06, Yakov Lerner [EMAIL PROTECTED] wrote: Does this do what you wanted: --- remap w and b to make them line-locked Yes, it works, thank you. By the way, I supposed this behavior could be achieved by setting a hidden compatible-option or something like this. Joachim ### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.f-secure.com/
cusor movement
Hello, is it possible to tell vim(7) *not* to jump to the next line when using object motion (w,b..) such as vim behaves when using l or h ? Thank You Joachim ### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.f-secure.com/
highlight setting overwritten
Hello, in my old gvim62 installation I do a few highlight commands in the $VIM/_gvimrc: highlight Comment guifg=DarkGreen guibg=background ... Now in my new vim70 installation this seems to be overwritten somewhere. The _gvimrc *is* sourced (- :scriptnames) If I do the highlight command manually it works. Where may the highlight be overwritten resp. where should I place the highlight command instead? Thank You Joachim [gvim70 WinXP] ### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.f-secure.com/
verbose -V
Hi, how can I redirect the call gvim -V to a file? ? I tried gvim -V c:\temp\ausgabe but no file is generated. [Windows XP] Joachim ### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.f-secure.com/
global normal command with yanking
Hi, I want to assemble a line below a block of text, where the fist word of every line is concatenated. one bla two bla three bla four bla empty line So I tried this, which should for every line yank the first word, Go to the last (empty) line, pastes and appends a little text after. :1,$-g/^/normal yeGPa + The result is: four + three + two + one + The order is not how I expected it. Why is that, and can I reverse the order? Thank You Joachim ### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.f-secure.com/
Scrolling relative to cursor
Hi, Given are two loaded buffers. When I switch beween them by :bn/:bp or :n#, the window is redrawn similar to z. z. Redraw, line [count] at center of window (default cursor line). Put cursor at first non-blank in the line. Can I change or workaround this behavior not to do this but to keep the buffer view the same? Thank You Joachim ### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.f-secure.com/
Re: seaching for selected multiline expression
Gary Johnson wrote: I just recently enhanced it to work with multi-line patterns. vmap silent g/ y/C-R=substitute(escape(@, '\\/.*$^~[]'), '\n', '\\n', 'g')CRCR Works, Thank You. concatenating substitute() and escape() seems to be tricky. Joachim ### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.f-secure.com/
seaching for selected multiline expression
Hello, I have a mapping which immediately searches for visually selected items. It achieves this by yanking the selected text and exec[utes] a search for the register content This works so far. vmap / y:execute /.escape(@,'[]/\.*')CR Now I tried this first time for multiline selects, but it does not work: Selecting this: USE ICCS_2005 GO leads to: - E486: Pattern not found: USE [EMAIL PROTECTED]@ To surround the error, I shortened the abbreviation to vmap / y:execute /.@CR, this causes the same error message. What is ^@ ? How can I have \n instead of thes ^@ - characters to make the search work? Thank You Joachim ### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.f-secure.com/
Making vimdiff work
Hello, I am trying to set up vimdiff, but E97 is thrown. gvim -d tutor.alter tutor.de Enter tutor.de [unix] 847L, 31889C tutor.alter [unix] 853L, 31953C E97: Cannot create diffs Test diff.exe inside of gvim: :!diff - opens shell with diff.exe Test of diff itself: C:\TEMP\vimtutor_neuneu\Endversiondiff tutor.alter tutor.de | more 2c2 =W i l l k o m m e n z u m V I M T u t o r-Version 1.5D = --- =W i l l k o m m e n z u m V I M T u t o r-Version 1.5.2D = 7c7 gestaltet, um genug Befehle vorzustellen, so dass Du die Fõhigkeit erlangst , --- gestaltet, um genug Befehle vorzustellen, dass Du die Fõhigkeit erlangst, So everything seems to be ok. What is missing? (gvim 6.2) Thank you Joachim ### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.f-secure.com/