Re: Bug: :confirm w only works once

2007-03-01 Thread edfyoungsmor
Die von Ihnen genutzte eMail-Adresse ([EMAIL PROTECTED]) existiert nicht oder existiert nicht mehr.

Re: Subject: Re: vim on cygwin using win32 clipboard

2007-03-01 Thread Frodak Baksik
On 2/28/07, Matthew Woehlke [EMAIL PROTECTED] wrote: Gary Johnson wrote: It appears that I may need to install the ncurses package and reconfigure vim in order to get color. That would be likely; ncurses is (AFAIK) *much* better than termcap. -- Matthew Obscurity: +5 Try getting ncurses

Re: Subject: Re: vim on cygwin using win32 clipboard

2007-03-01 Thread Gary Johnson
On 2007-03-01, Frodak Baksik [EMAIL PROTECTED] wrote: On 2/28/07, Matthew Woehlke [EMAIL PROTECTED] wrote: Gary Johnson wrote: It appears that I may need to install the ncurses package and reconfigure vim in order to get color. That would be likely; ncurses is (AFAIK) *much* better

Auto indent lost when opening a new file?

2007-03-01 Thread François Ingelrest
Hello all, This is something that annoys me a lot, and I don't know how to get rid of it: as soon as I open a new file, auto indentation is lost. Suppose I am editing a Python file: def func(): If I hit enter after this line, the cursor will be placed on the next line with correct indentation.

Re: pulling text to the right?

2007-03-01 Thread Matthew Winn
On Wed, 28 Feb 2007 12:55:23 -0800, Lev Lvovsky [EMAIL PROTECTED] wrote: That sort of does what I want, but it ends up moving the INT right along with it. I guess what I'm looking for is a combination of key strokes: COL1 INT, COL2 INT, COL3 INT, ^

argdo and grep

2007-03-01 Thread Naim Far
Hi Vimers, I was wondering about argdo! Is there anyway to do the following command :grep pattern * | argdo :%s/pattern/new_pattern/g I tried it but it didn't work, I tried some few others ways, but they didn't work either Thanx...

How to fold text between two regular expressions ?

2007-03-01 Thread MM
How do I create folds such that it starts at matched expression and ends at the line containing part of the matched expression. e.g i'd like to fold procedure xyz ( . : : : : : end xyz; function abc ( : : : : : end abc; impure function pqr ( : : : : : end pqr; Thanks in advance..

hi Comment guifg=white guibg=black in ~/.vimrc ignored

2007-03-01 Thread Alexander Farber
Hello, I've spent several hours, but just can't figure out, why wouldn't Vim 7.0 on my english Win Xp Pro PC execute the highlight commands from my .vimrc. I'd like to have my Comments inverted and thus I have: hi Commentguifg=white guibg=black in my file C:\Documents and

Re: How to fold text between two regular expressions ?

2007-03-01 Thread Yakov Lerner
On 3/1/07, MM [EMAIL PROTECTED] wrote: How do I create folds such that it starts at matched expression and ends at the line containing part of the matched expression. e.g i'd like to fold procedure xyz ( . : : : : : end xyz; Does this do what you want (untested): let

Re: hi Comment guifg=white guibg=black in ~/.vimrc ignored

2007-03-01 Thread Yakov Lerner
On 3/1/07, Alexander Farber [EMAIL PROTECTED] wrote: Hello, I've spent several hours, but just can't figure out, why wouldn't Vim 7.0 on my english Win Xp Pro PC execute the highlight commands from my .vimrc. I'd like to have my Comments inverted and thus I have: hi Commentguifg=white

Re: hi Comment guifg=white guibg=black in ~/.vimrc ignored

2007-03-01 Thread Alexander Farber
Hello Yakov, On 3/1/07, Yakov Lerner [EMAIL PROTECTED] wrote: Defining 'hi...' in vimrc is not good because 'color ...' commands, and possibly by 'syntax on' commands. sorry, I don't understand what you mean above. The better method to customize colors is to copy the colorscheme under your

Re: hi Comment guifg=white guibg=black in ~/.vimrc ignored

2007-03-01 Thread Yakov Lerner
On 3/1/07, Alexander Farber [EMAIL PROTECTED] wrote: Hello Yakov, On 3/1/07, Yakov Lerner [EMAIL PROTECTED] wrote: Defining 'hi...' in vimrc is not good because 'color ...' commands, and possibly by 'syntax on' commands. sorry, I don't understand what you mean above. The better method to

Re: hi Comment guifg=white guibg=black in ~/.vimrc ignored

2007-03-01 Thread Alexander Farber
Hello, On 3/1/07, Yakov Lerner [EMAIL PROTECTED] wrote: On 3/1/07, Alexander Farber [EMAIL PROTECTED] wrote: When I enter :hi Commentguifg=white guibg=black manually or :so ~/.vimrc then it does work. It's not ignored. It's overwritten later. 1. Try 'syn off' 'syntax on' after that.

Re: hi Comment guifg=white guibg=black in ~/.vimrc ignored

2007-03-01 Thread Hugh Sasse
On Thu, 1 Mar 2007, Alexander Farber wrote: Hello, I've spent several hours, but just can't figure out, why wouldn't Vim 7.0 on my english Win Xp Pro PC execute the highlight commands from my .vimrc. I'd like to have my Comments inverted and thus I have: hi Commentguifg=white

Re: hi Comment guifg=white guibg=black in ~/.vimrc ignored

2007-03-01 Thread Yakov Lerner
On 3/1/07, Alexander Farber [EMAIL PROTECTED] wrote: Hello, On 3/1/07, Yakov Lerner [EMAIL PROTECTED] wrote: On 3/1/07, Alexander Farber [EMAIL PROTECTED] wrote: When I enter :hi Commentguifg=white guibg=black manually or :so ~/.vimrc then it does work. It's not ignored. It's

hi Comment guifg=white guibg=black in ~/.vimrc ignored

2007-03-01 Thread Alexander Farber
Hello Hugh, On 3/1/07, Hugh Sasse [EMAIL PROTECTED] wrote: On Thu, 1 Mar 2007, Alexander Farber wrote: I'd like to have my Comments inverted and thus I have: hi Commentguifg=white guibg=black If I recall correctly, this will affect gvim, because you have have used GUIfg and GUIbg

Re: argdo and grep

2007-03-01 Thread Yakov Lerner
On 3/1/07, Naim Far [EMAIL PROTECTED] wrote: I was wondering about argdo! Is there anyway to do the following command :grep pattern * | argdo :%s/pattern/new_pattern/g How about this: vim `grep -l 'pattern' *` :argdo :%s/pattern/new_pattern/g Yakov

Re: Auto indent lost when opening a new file?

2007-03-01 Thread Yakov Lerner
On 3/1/07, François Ingelrest [EMAIL PROTECTED] wrote: Hello all, This is something that annoys me a lot, and I don't know how to get rid of it: as soon as I open a new file, auto indentation is lost. Suppose I am editing a Python file: def func(): If I hit enter after this line, the cursor

Re: hi Comment guifg=white guibg=black in ~/.vimrc ignored

2007-03-01 Thread Hugh Sasse
On Thu, 1 Mar 2007, Alexander Farber wrote: no, unfortunately this doesn't change anything. I've had those in my ~/.vimrc originally: [...] Then try :scriptnames to see which scripts have been loaded in what order, that way you'll have an idea what is picked up after your .vimrc and

Re: Workspace concept ala TextPad

2007-03-01 Thread Eric Leenman
Hi Yegappan, I'm trying to do as you said: In the prompt for adding a file to the workspace, you have to enter the filename. If you are using Vim7, you can make the attached change to the workspace plugin to get filename completion at this prompt. With this change, you can complete directory

Re: can't source a file inside my _vimrc

2007-03-01 Thread kib2
Yakov Lerner a écrit : What exactly do you mean by without success. Do you get error message ? Which one ? Yakov Hi Yakov, I've got no error message, but no menu too ! How can I list all of my available extensions ?

Re: Auto indent lost when opening a new file?

2007-03-01 Thread François Ingelrest
Thank you very much for your answer. I have these lines in my .vimrc: if has(autocmd) au BufRead,BufNewFile *.cls set filetype=tex au BufRead,BufNewFile sconstruct set filetype=python Nes C syntax (used by TinyOS) au BufRead,BufNewFile *.nc set filetype=nesc au! Syntax nesc

Re: can't source a file inside my _vimrc

2007-03-01 Thread Yakov Lerner
On 3/1/07, kib2 [EMAIL PROTECTED] wrote: Yakov Lerner a écrit : What exactly do you mean by without success. Do you get error message ? Which one ? Yakov Hi Yakov, I've got no error message, but no menu too ! How can I list all of my available extensions ? You're supposed to get

Re: Auto indent lost when opening a new file?

2007-03-01 Thread Yakov Lerner
On 3/1/07, François Ingelrest [EMAIL PROTECTED] wrote: Thank you very much for your answer. I have these lines in my .vimrc: if has(autocmd) au BufRead,BufNewFile *.cls set filetype=tex au BufRead,BufNewFile sconstruct set filetype=python Nes C syntax (used by TinyOS) au

Re: can't source a file inside my _vimrc

2007-03-01 Thread kib2
Yakov Lerner a écrit : On 3/1/07, kib2 [EMAIL PROTECTED] wrote: Yakov Lerner a écrit : What exactly do you mean by without success. Do you get error message ? Which one ? Yakov Hi Yakov, I've got no error message, but no menu too ! How can I list all of my available extensions ? You're

Re: How to fold text between two regular expressions ?

2007-03-01 Thread Yakov Lerner
On 3/1/07, Yakov Lerner [EMAIL PROTECTED] wrote: On 3/1/07, MM [EMAIL PROTECTED] wrote: How do I create folds such that it starts at matched expression and ends at the line containing part of the matched expression. e.g i'd like to fold procedure xyz ( . : : : : : end xyz; Does

Re: can't source a file inside my _vimrc

2007-03-01 Thread Yakov Lerner
On 3/1/07, kib2 [EMAIL PROTECTED] wrote: Yakov Lerner a écrit : On 3/1/07, kib2 [EMAIL PROTECTED] wrote: Yakov Lerner a écrit : What exactly do you mean by without success. Do you get error message ? Which one ? Yakov Hi Yakov, I've got no error message, but no menu too ! How

Re: can't source a file inside my _vimrc

2007-03-01 Thread kib2
Try ':filetype on' Yakov filetype on is already inside my mimrc. In fact, I've made a special function for the different languages I use : au BufEnter *.pyexe Fpython() function Fpython() au FileType python source C:\Program Files\vim\vim70\scripts\python.vim autocmd

Re: How to fold text between two regular expressions ?

2007-03-01 Thread Tim Chase
How do I create folds such that it starts at matched expression and ends at the line containing part of the matched expression. e.g i'd like to fold procedure xyz ( . : : end xyz; function abc ( : : end abc; impure function pqr ( : : end pqr; You might be able to do something like

RE: argdo and grep

2007-03-01 Thread Naim Far
Thanx Yakov for your response, It would help, but I would rather to do it with in working in vim. I'm editing an enormous number of files, and when I change a pattern, I want to change it in the few files that has this pattern, and not having to go through all the files. Is there anyway you

Red Tabs

2007-03-01 Thread Brewtal100
Hi Every body I'm new here. This is my first post. It's a question Could someone please suggest why whenever I press the tab key to indent, the whitespace is coloured red? How can I get rid of this? Thanks -- View this message in context: http://www.nabble.com/Red-Tabs-tf3327604.html#a9251850

Re: hi Comment guifg=white guibg=black in ~/.vimrc ignored

2007-03-01 Thread Alexander Farber
Hello Hugh, On 3/1/07, Hugh Sasse [EMAIL PROTECTED] wrote: :scriptnames 1: C:\Documents and Settings\afarber\.vimrc 2: C:\Program Files\Vim\vim70\syntax\syntax.vim 3: C:\Program Files\Vim\vim70\syntax\synload.vim 4: C:\Program Files\Vim\vim70\syntax\syncolor.vim 5: C:\Program

Re: Red Tabs

2007-03-01 Thread Tim Chase
I'm new here. This is my first post. It's a question Welcome to the list :) Could someone please suggest why whenever I press the tab key to indent, the whitespace is coloured red? How can I get rid of this? There are a couple possibilities: 1) you're editing a file whose

Re: hi Comment guifg=white guibg=black in ~/.vimrc ignored

2007-03-01 Thread Hugh Sasse
On Thu, 1 Mar 2007, Alexander Farber wrote: Hello Hugh, On 3/1/07, Hugh Sasse [EMAIL PROTECTED] wrote: :scriptnames 1: C:\Documents and Settings\afarber\.vimrc 2: C:\Program Files\Vim\vim70\syntax\syntax.vim 3: C:\Program Files\Vim\vim70\syntax\synload.vim 4: C:\Program

RE: argdo and grep

2007-03-01 Thread Hari Krishna Dara
On Thu, 1 Mar 2007 at 5:25pm, Naim Far wrote: Thanx Yakov for your response, It would help, but I would rather to do it with in working in vim. I'm editing an enormous number of files, and when I change a pattern, I want to change it in the few files that has this pattern, and not having to

Re: Red Tabs

2007-03-01 Thread Albie Janse van Rensburg
Brewtal100 wrote: Hi Every body I'm new here. This is my first post. It's a question Could someone please suggest why whenever I press the tab key to indent, the whitespace is coloured red? How can I get rid of this? Thanks Welcome! Have you tried changing your colorscheme, and seeing

Re: can't source a file inside my _vimrc

2007-03-01 Thread Gary Johnson
On 2007-03-01, kib2 [EMAIL PROTECTED] wrote: Try ':filetype on' Yakov filetype on is already inside my mimrc. In fact, I've made a special function for the different languages I use : au BufEnter *.pyexe Fpython() function Fpython() au FileType python source C:\Program

Re: Mapping to the numerical - and + and *

2007-03-01 Thread Jean-Rene David
* Eric Leenman [2007.03.01 13:30]: How were you planning to use those? I want to use these as cut, paste and copy iso CTRL-X, V and C. Cutting and copying are compound operations in the sense that you need to specify /what/ they are going to act on. There are many ways to do this, depending

Re: [Was :wq vs ZZ] Red Tabs

2007-03-01 Thread Brewtal100
Thanks very much for your help I've tried to fix it as if it was 2) or 3) but it hasn't worked I'm writing a piece of fortran90 code (.f90 extension) If that helps I just started a fresh file and it highlights the first character on each line with red (change character to white) and makes all

Re: [Was :wq vs ZZ] Red Tabs

2007-03-01 Thread Tim Chase
I've tried to fix it as if it was 2) or 3) but it hasn't worked I'm writing a piece of fortran90 code (.f90 extension) If that helps I just started a fresh file and it highlights the first character on each line with red (change character to white) and makes all the white space before it

Re: pulling text to the right?

2007-03-01 Thread Lev Lvovsky
On Feb 27, 2007, at 6:57 AM, Charles E Campbell Jr wrote: Lev Lvovsky wrote: I'm sure there's a fancy word for this, but is there any way to pull text to the right? suppose I have the following: COL1 INT, COL2 INT, COL3 INT, I'd like to get COL3 aligned to COL1 and

Console Text Display Problem

2007-03-01 Thread Devan Goodwin
Greetings, I'm having a very strange problem with vim when composing text documents. (e-mail etc, I don't see the problem when writing code) It's somewhat hard to describe, but when typing the display appears to back up or stop moving, the text color looks kind of inverted, and characters sort

RE: Console Text Display Problem

2007-03-01 Thread Gene Kwiecinski
It's somewhat hard to describe, but when typing the display appears to back up or stop moving, the text color looks kind of inverted, and characters sort of appear twice for a word or so. Backspacing and retying the exact same thing corrects the problem, saving and reopening the file also, it is

Re: Console Text Display Problem

2007-03-01 Thread Tobias Klausmann
Hi! On Thu, 01 Mar 2007, Gene Kwiecinski wrote: It's somewhat hard to describe, but when typing the display appears to back up or stop moving, the text color looks kind of inverted, and characters sort of appear twice for a word or so. Backspacing and retying the exact same thing corrects

Re: tips project

2007-03-01 Thread Tobias Pflug
On Fri, 2007-02-23 at 09:46 -0600, Tom Purl wrote: Ok everyone, the project's created: * http://code.google.com/p/vimtips/ I think there's a major disadvantage in using the code.google.com wiki - it only allows people who have been added to the project to edit the wiki via the web

Re: hi Comment guifg=white guibg=black in ~/.vimrc ignored

2007-03-01 Thread Peter Hodge
--- Hugh Sasse [EMAIL PROTECTED] wrote: On Thu, 1 Mar 2007, Alexander Farber wrote: Hello Hugh, On 3/1/07, Hugh Sasse [EMAIL PROTECTED] wrote: Actually I edit .sh, .pl, .c, .h, .java and .as files and like to have similar colors (like inverted comments) everywhere. So probably

Re: Console Text Display Problem

2007-03-01 Thread A.J.Mechelynck
Devan Goodwin wrote: Greetings, I'm having a very strange problem with vim when composing text documents. (e-mail etc, I don't see the problem when writing code) It's somewhat hard to describe, but when typing the display appears to back up or stop moving, the text color looks kind of inverted,

Re: Console Text Display Problem

2007-03-01 Thread A.J.Mechelynck
Gene Kwiecinski wrote: It's somewhat hard to describe, but when typing the display appears to back up or stop moving, the text color looks kind of inverted, and characters sort of appear twice for a word or so. Backspacing and retying the exact same thing corrects the problem, saving and

Re: Telnet commands from Vim ?

2007-03-01 Thread A.J.Mechelynck
Eric Roberts wrote: Hi, I'm interested in being able to send/recieve telnet messages. It's for a debugger that is used over telnet. I know this is a fairly esoteric problem, and as far as I can tell there's no direct way of doing this but I thought I'd might ask to be sure. If there isn't

Re: Telnet commands from Vim ?

2007-03-01 Thread Eric Roberts
A.J.Mechelynck wrote: Eric Roberts wrote: Hi, I'm interested in being able to send/recieve telnet messages. It's for a debugger that is used over telnet. I know this is a fairly esoteric problem, and as far as I can tell there's no direct way of doing this but I thought I'd might ask to be

Re: tips project

2007-03-01 Thread Tom Purl
Okay, so now I am really an outsider to this whole issue as in that I have just been following the whole thread with interest because i regularly check vim tips/scripts at vim.org ... For more information of where people are right now, check the mailing list archive for a thread titled VimTips

Re: GB18030 != CP936

2007-03-01 Thread Edward L. Fox
Hi all, On 3/1/07, Yongwei Wu [EMAIL PROTECTED] wrote: Hi Bram, On 3/1/07, Bram Moolenaar [EMAIL PROTECTED] wrote: Yongwei Wu wrote: My main point is that if our purpose is to make Vim novices edit Simplified Chinese files (almost always encoded in GBK) without troubles in the