... Do this with join: join -v1 bar foo > foo.bar ... -- David Rock david@......
35550
Klaus Bosau
kbosau@...
Jan 2, 2003 7:55 am
Hi, in Vim's doc. I found a remark stating that some of the visual mode operators also allow to use a count parameter when invoked. If you want to give a count...
35551
Sandip P Deshmukh
deshmukh@...
Jan 2, 2003 8:57 am
hello all i have been using vim regularly. but i think, i am only using 10% of its power! and even with that 10% i am impressed!! of late, i have taken to...
35552
Manikandan P.
linuxmani@...
Jan 2, 2003 9:11 am
hi add these lines to your .vimrc iab ht <html> iab nht </html> and so on .... Mani ... From: "Sandip P Deshmukh" <deshmukh@...> To:...
35553
Sandip P Deshmukh
deshmukh@...
Jan 2, 2003 9:16 am
... oh sure i can. i was just wondering if there is some script etc that will do all i have asked for. the method you have suggested is how i am doing it right...
35554
Steven Tryon
stryon@...
Jan 2, 2003 11:00 am
... I'm sure there are more elegant ways to do it, but this simple set has served me well. I use ';' as my macro lead-in, with 's' to start a tag and 'p' to...
35555
Sandip P Deshmukh
deshmukh@...
Jan 2, 2003 11:34 am
... thanks steve. your mappings were helpful. :) -- regards, sandip p deshmukh ... Getting there is only half as far as getting there and back....
35556
David Fishburn
fishburn@...
Jan 2, 2003 1:49 pm
I am not sure if you have looked through the scripts for plugins, but this is one that I use (well actually 2). I put this in my vimrc file... " CloseTag...
35557
David Fishburn
fishburn@...
Jan 2, 2003 2:20 pm
To expand on this a bit more ... VIM 6.1 can already automatically indent html files. I frequently do the following ... To reformat the entire file. I...
35558
David Fishburn
fishburn@...
Jan 2, 2003 2:26 pm
Ahh, that is exactly what I have wanted... Thanks, Bram! ... From: Bram@... [mailto:Bram@...] This is what I use myself: " When editing a...
35559
Marlin Unruh
munruh@...
Jan 2, 2003 2:36 pm
Is it possible to have VIM repeat a given character until a given column number. For example I would like to start the description of my functions like: ...
35560
A. S. Budden
vim.mail@...
Jan 2, 2003 2:43 pm
Hi there, I am a hardened dos user (sorry!) and do everything I can using a combination of Vim and the WinXP command prompt, including running windows programs...
35561
HALIM,SALMAN (HP-NewJ...
salman@...
Jan 2, 2003 2:50 pm
The simplest thing to do would be to cheat by inserting 79 hyphens after the ... from there to the end of the line; a mapping might be: nmap --...
35562
Bob Hiestand
bob@...
Jan 2, 2003 3:07 pm
I may have misunderstood, but the following lines work: function! F() range echomsg v:count a:firstline a:lastline endf vmap x :call F()<CR>...
35563
Marlin Unruh
munruh@...
Jan 2, 2003 3:22 pm
I ran across a cmd that brings the line containing the cursor to the center of the screen. I searched the old messages and can't find it. I would use this ...
35564
Bob Hiestand
bob@...
Jan 2, 2003 3:23 pm
The main point of this is the last bit, that creates a matching pair for the current tag if you hit "enter" in normal mode or "control-enter" in insert mode...
35565
Bob Hiestand
bob@...
Jan 2, 2003 3:27 pm
z. In general for this scrolling commands,...
35566
Chris Devers
cdevers@...
Jan 2, 2003 3:32 pm
... Not sure if this would get you where you want to go, but have you played around with the 'ex' editor? Vi (and so sort of by extension, Vim) is just a...
35567
Tim Chase
gumnos@...
Jan 2, 2003 3:55 pm
... mode, ... -t...
35568
Antoine J. Mechelynck
antoine.mechelynck@...
Jan 2, 2003 4:15 pm
... see also, if you want the cursor to stay centered ... HTH Tony....
35569
Gary Holloway
gary@...
Jan 2, 2003 5:11 pm
/ FROM: Payal Rathod <payal@...>, Jan 2 9:38 2003 ... If you're on Unix, you can use: comm -13 foo bar > foo.bar -gary ... \ END: Payal Rathod...
35570
Steve Hall
digitect@...
Jan 2, 2003 6:15 pm
... I use something like the function and mapping below. Steve Hall [ digitect(at)mindspring.com ] ...
35571
Ajit Thakkar
ajit@...
Jan 2, 2003 6:28 pm
SpellChecker v1.4 is now available at http://vim.sourceforge.net/script.php?script_id=499 This is a major revision. - Words containing an upper-case letter are...
35572
Klaus Bosau
kbosau@...
Jan 2, 2003 7:47 pm
... This is exactly what I needed. I tried a few variations with <C-U>, <Esc> but I totally forgot about 'range39;... :-) Thanks a lot! Klaus...
35573
Dan Sharp
dwsharp@...
Jan 2, 2003 7:52 pm
... Instead of using :.! to write the output at the current line, try using :$! to write the output starting on the last line. Actually, that will replace the...
35574
Hari Krishna Dara
hari_vim@...
Jan 2, 2003 8:33 pm
... Or, how about call append('$', system('<your command here>')) ? HTH, Hari __________________________________________________ Do you Yahoo!? Yahoo! Mail...
35575
Mikolaj Machowski
mikmach@...
Jan 2, 2003 8:42 pm
... gm m. -- LaTeX + Vim = http://vim-latex.sourceforge.net/ Learn Touch Typing with Vim: http://vim.sourceforge.net/script.php?script_id=461...
35576
John Culleton
john@...
Jan 2, 2003 8:43 pm
... No, I missed something. I never knew "yy" could have a line count in front of it. Thanks to all who replied. I have been using VI forever but I still have...
35577
John Culleton
john@...
Jan 2, 2003 8:49 pm
... 1. If you have a *nix machine I would use the standard utilities, such as diff, uniq, sort and so on in some combination. I do this all the time in similar...
35578
Antoine J. Mechelynck
antoine.mechelynck@...
Jan 2, 2003 8:57 pm
... somehow I feel that it should be possible to make a script to interpret the dos prompt directly in vim (it is available as $PROMPT), even mimic the dos ...