Re: Vim: Reading from stdin

2006-06-13 Thread John Love-Jensen
Hi Mikolaj, I get: Vim: Reading from stdin What happens when you do this: date | /usr/bin/vim -u NONE - Assuming that your vim is installed at /usr/bin/vim. What version of Vim are you using? --Eljay

Re: Vim: Reading from stdin

2006-06-13 Thread John Love-Jensen
Hi Jorge, Vim does its job, and after quitting vim I get: Actually, you are getting the Vim: Reading from stdin... first, and then Vim does it's job. When Vim quits, it restores the screen (available in some termcaps), which includes the prior Vim message that it was reading from stdin. I

Re: Vim: Reading from stdin

2006-06-13 Thread John Love-Jensen
Hi Jorge, That would be worse than the message! You should modify the Vim source code so it does not emit the message, and compile your own version. Note: the message is there so it does not appear that your machine is hung if vim is being sent a large amount of input, or a input from a slow

Re: Extending Vim7 with plugins

2006-05-19 Thread John Love-Jensen
Hi Robert, Is there some tutorial out there for a newbie starting with Vim7 to learn how to program for it? There's a general tutorial to get you started with Vim at: http://www.viemu.com/a_vi_vim_graphical_cheat_sheet_tutorial.html I don't think it covers any Vim 7.0 features. And I don't

Re: page scrolling

2006-05-18 Thread John Love-Jensen
^E and ^Y will move the visual window by one line. Comes in handy to adjust the screen to center a block of text. Also very handy are these keyboard sequences: z. put line-with-cursor in middle of screen zCR put line-with-cursor at top of screen z- put line-with-cursor at bottom of

Re: HTML editing with vim: where to start ?

2006-05-17 Thread John Love-Jensen
Hi Ivan, The FAQ contains some obscure information that goes beyond your average Vim cheat sheet. For the aforementioned average Vim cheat sheet... http://www.viemu.com/a_vi_vim_graphical_cheat_sheet_tutorial.html --Eljay

Re: Indentation and blank lines

2006-05-09 Thread John Love-Jensen
Hi Arménio, Isn't this a kind of nasty trick? :-) Does anyone know a cleaner solution? That is the clean, simple solution. The nasty solution is to modify the Vim source code, change the behavior of auto-indent to your preference, and rebuild. Sincerely, --Eljay

Re: ^M problems with migrating VIM from WinXP to Linux

2006-05-03 Thread John Love-Jensen
Hi Eric, Do this to see which line-endings the buffer is associated with... :set ff? Do this to change them... :set ff=unix :wq For info... :help 'fileformat On WinXP, I strictly use the unix (0A) line endings, I do not use mac (0D) or dos (0D 0A). I wish Vim internally supported nul (00)