Re: vim7: problem with regex subst and combining chars

2006-05-18 Thread Benji Fisher
On Wed, May 17, 2006 at 08:34:22AM -0700, Ron Aaron wrote: Arrgh! I can't send this message to the list, for some reason! Maybe because it has strange characters in it? OK: you can download my test.zip from here: http://ronware.org/test.zip In it you will find a file 'test.txt' which

Re: vim7: problem with regex subst and combining chars

2006-05-18 Thread Ron Aaron
I notice other problems. For example, $ (in Normal mode) takes me to the fifth character. (With 'ruler' set, I see 17-5 in the status line.) Maybe there is a null byte in the fifth or sixth multi-byte character? I think $ and ruler are working correctly; the other 'characters' are combining

vim patch: fixing resetting dictionary function

2006-05-18 Thread Richard Emberson
In the following I am creating a dictionary, associating a function with the dictionary and then reassociating a new function with the name of the original function. Try this without the fix and you get: ADD n=9 Error detected while processing /home/emberson/vim/foo.vim: line 14: E475: Invalid

page scrolling

2006-05-18 Thread Ilya Hegai
Hello, please, point me to the command, which allow to scroll page line by line, like in mc viewer (F3) with arrow keys Thank you -- regards, Hegai Ilya

Re: page scrolling

2006-05-18 Thread Jürgen Krämer
Hi, Ilya Hegai wrote: please, point me to the command, which allow to scroll page line by line, like in mc viewer (F3) with arrow keys :help CTRL-E :help CTRL-Y Regards, Jürgen -- Jürgen Krämer Softwareentwicklung HABEL GmbH Co. KG

automatic gvim start and problems

2006-05-18 Thread roberto
hi all i work with gvim 6.3.71 using 3-4 windows at the same time; i save them all using the following script that is automatically executed upon start of kde 3.3 being saved in ~/.kde/Autostart # start.sh # session for polar_angle_* # /usr/bin/gvim -S ~/codes/polar_angle/Session_polar_abc.vim

I don't have $VIMRUNTIME after installation

2006-05-18 Thread victor NOAGBODJI
I'm using ubuntu breezy 5.10 I have installed vim70. I don't have this environment variable. The user manual makes a lot of reference to it. Help me.

Re: I don't have $VIMRUNTIME after installation

2006-05-18 Thread Linxiao
Vim will not create environment varible, and it just maintains one inside itselft. lauch vim, and enter echo $VIMRUNTIME in Ex-mode to see. :echo $VIMRUNTIME On 5/18/06, victor NOAGBODJI [EMAIL PROTECTED] wrote: I'm using ubuntu breezy 5.10 I have installed vim70. I don't have this

Re: Indentations - possible Vim7 bug

2006-05-18 Thread Eric Arnold
What's the value of your 'paste' option? On 5/18/06, Dan Clarke [EMAIL PROTECTED] wrote: Hi. I've just installed Vim 7. l use MS Windows. I've found a problems with the indentations. You can replicate it by doing the following ... - Copy a whole word into the clipboard. - In a C/C++ file,

Re: automatic gvim start and problems

2006-05-18 Thread Yakov Lerner
On 5/18/06, roberto [EMAIL PROTECTED] wrote: hi all i work with gvim 6.3.71 using 3-4 windows at the same time; i save them all using the following script that is automatically executed upon start of kde 3.3 being saved in ~/.kde/Autostart # start.sh # session for polar_angle_* #

Re: Indentations - possible Vim7 bug

2006-05-18 Thread Dan Clarke
The paste option isn't set. If I set it, auto indentation doesn't work at all, and when I press 'control-v', it just pastes a caret character instead of what's in the clipboard. - Dan Eric Arnold wrote: What's the value of your 'paste' option? On 5/18/06, Dan Clarke [EMAIL PROTECTED]

Re: CurorLine, set cursorline: slow, slower, slowest ?!

2006-05-18 Thread Yakov Lerner
On 5/18/06, Meino Christian Cramer [EMAIL PROTECTED] wrote: Hi, VIM has a neat feature to highlight the line the cursor is in. This makes reading wide texts easier. Unfortunatley (at least with my system) moving the cursor become very slow. Is there a way out (a config trich for example)

Re: ctrl+shift key mappings

2006-05-18 Thread Eric Arnold
Thanks. Now I've got some good multi-bytes to multi-chew on :-) On 5/18/06, A.J.Mechelynck [EMAIL PROTECTED] wrote: Eric Arnold wrote: Hey. Do you know any simple key sequence to test whether code I'm adding to Vim is handling mbytes correctly? Unfortunately, even if I got Japanese

Re: automatic gvim start and problems

2006-05-18 Thread Yakov Lerner
On 5/18/06, roberto [EMAIL PROTECTED] wrote: On 5/18/06, Yakov Lerner [EMAIL PROTECTED] wrote: On 5/18/06, roberto [EMAIL PROTECTED] wrote: # start.sh # session for polar_angle_* # /usr/bin/gvim -S ~/codes/polar_angle/Session_polar_abc.vim /usr/bin/gvim -S

Re: Tables.

2006-05-18 Thread Benji Fisher
On Wed, May 17, 2006 at 07:50:08PM -0700, Suresh Govindachar wrote: cga2000 wrote: But I was not thinking of these tab stops.. more in the line of typewriter stuff, I guess. Creating an imap involving the following operations might do the job: ---set up the typewriter

search next, prev while in /pattern editing

2006-05-18 Thread Yakov Lerner
I am using incsearch. I wanted to define 2 mappings that act while I am in /search pattern editing mode, and that take me to next/prev match while leaving the cursor in /pattern commandline. Is it possible ? Yakov

Re: Tables.

2006-05-18 Thread Benji Fisher
On Wed, May 17, 2006 at 04:52:50PM -0400, cga2000 wrote: Does vim provide any form of native support for drawing tables? I have tried a couple of plugins and they don't seem to play well with my setup, presumably because I have temporarily switched my locale back from UTF-8 to en_US (due to

Re: Indentations - possible Vim7 bug [PATCH]

2006-05-18 Thread Benji Fisher
On Thu, May 18, 2006 at 10:20:38AM +, Dan Clarke wrote: Hi. I've just installed Vim 7. l use MS Windows. I've found a problems with the indentations. You can replicate it by doing the following ... - Copy a whole word into the clipboard. - In a C/C++ file, position the cursor on a

clearing the command line

2006-05-18 Thread Eric Arnold
I''ve been chasing this for a while, so I might as well ask, even though it seems like a stupid question. What's the right way to clear the command line between echo blocks in a script, without causing a full screen redraw? Everything I try eventually fails when the command line has been

Re: clearing the command line

2006-05-18 Thread Yakov Lerner
On 5/18/06, Eric Arnold [EMAIL PROTECTED] wrote: I''ve been chasing this for a while, so I might as well ask, even though it seems like a stupid question. What's the right way to clear the command line between echo blocks in a script, without causing a full screen redraw? Everything I try

Vim7 - intellisense problem

2006-05-18 Thread Dan Clarke
In my workplace, our coding standard states that we have to declare our variables on the next line from the variable type. The intellisense in vim7 doesn't work when it's like this. For example ... typedef struct { int i; }my_structure; void main (void) {

Re: search next, prev while in /pattern editing

2006-05-18 Thread Benji Fisher
On Thu, May 18, 2006 at 12:27:26PM +, Yakov Lerner wrote: I am using incsearch. I wanted to define 2 mappings that act while I am in /search pattern editing mode, and that take me to next/prev match while leaving the cursor in /pattern commandline. Is it possible ? Yakov If you

Re: clearing the command line

2006-05-18 Thread Eric Arnold
On 5/18/06, Yakov Lerner [EMAIL PROTECTED] wrote: On 5/18/06, Eric Arnold [EMAIL PROTECTED] wrote: I''ve been chasing this for a while, so I might as well ask, even though it seems like a stupid question. What's the right way to clear the command line between echo blocks in a script, without

Re: search next, prev while in /pattern editing

2006-05-18 Thread Eric Arnold
I think this does what you want. You only need to use /, though, since you can now go up and down while in / : cmap silent C-X c-cN:redrawCR/c-p cmap silent C-Z c-cn:redrawCR/c-p

Re: search next, prev while in /pattern editing

2006-05-18 Thread Eric Arnold
On 5/18/06, Eric Arnold [EMAIL PROTECTED] wrote: I think this does what you want. You only need to use /, though, since you can now go up and down while in / : cmap silent C-X c-cN:redrawCR/c-p cmap silent C-Z c-cn:redrawCR/c-p Rats. This works only if you set the @/ variable first by

RE: clearing the command line

2006-05-18 Thread Zdenek Sekera
-Original Message- From: Eric Arnold [mailto:[EMAIL PROTECTED] Sent: 18 May 2006 15:09 To: vim.org user list Subject: clearing the command line I''ve been chasing this for a while, so I might as well ask, even though it seems like a stupid question. What's the right way to clear

Shell command history in VIM?

2006-05-18 Thread Wijaya Edward
Hi, Is there a way to enable history view of all the shell command executed under vim, i.e. with :! shell_command Regards, Edward WIJAYA SINGAPORE Institute For Infocomm Research - Disclaimer - This email is confidential and may be privileged. If you are not the

Re: Shell command history in VIM?

2006-05-18 Thread Peter Palm
Op donderdag 18 mei 2006 16:38, schreef Wijaya Edward: Hi, Is there a way to enable history view of all the shell command executed under vim, i.e. with :! shell_command Well, as long as the info is known by vim (see :help viminfo), you could do: q: to open the command-line window and then:

Re: Shell command history in VIM?

2006-05-18 Thread Yakov Lerner
On 5/18/06, Wijaya Edward [EMAIL PROTECTED] wrote: Is there a way to enable history view of all the shell command executed under vim, i.e. with :! shell_command In an indirect way, sort of, yes. You need to, first, pull all history lines (using either redir+:history, or using histget()

Vertical selection

2006-05-18 Thread Baha-Eddine MOKADEM
Hi all, Is it possible to make a vertical selection in a text, to have a rectangular selection in the text ? If so, how ? thank you, best regads. Eddine

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: Vertical selection

2006-05-18 Thread Jürgen Krämer
Hi, Baha-Eddine MOKADEM wrote: Is it possible to make a vertical selection in a text, to have a rectangular selection in the text ? If so, how ? :help ctrl-v Regards, Jürgen -- Jürgen Krämer Softwareentwicklung HABEL GmbH Co. KG

Re: automatic gvim start and problems

2006-05-18 Thread roberto
On 5/18/06, Yakov Lerner [EMAIL PROTECTED] wrote: Opens two windows for me: (1) polar_bal.c and (2) polar_angle_d.c Is this good or bad ? Yakov actually this is what happens: it opens one window splitted in two, with half of it showing (1) polar_bal.c and the other showing (2) polar_angle_d.c

Re: automatic gvim start and problems

2006-05-18 Thread Yakov Lerner
On 5/18/06, roberto [EMAIL PROTECTED] wrote: On 5/18/06, Yakov Lerner [EMAIL PROTECTED] wrote: Opens two windows for me: (1) polar_bal.c and (2) polar_angle_d.c Is this good or bad ? Yakov actually this is what happens: it opens one window splitted in two, with half of it showing (1)

Re: automatic gvim start and problems

2006-05-18 Thread A.J.Mechelynck
roberto wrote: On 5/18/06, Yakov Lerner [EMAIL PROTECTED] wrote: Opens two windows for me: (1) polar_bal.c and (2) polar_angle_d.c Is this good or bad ? Yakov actually this is what happens: it opens one window splitted in two, with half of it showing (1) polar_bal.c and the other showing (2)

Re: automatic gvim start and problems

2006-05-18 Thread Yakov Lerner
On 5/18/06, Yakov Lerner [EMAIL PROTECTED] wrote: On 5/18/06, roberto [EMAIL PROTECTED] wrote: On 5/18/06, Yakov Lerner [EMAIL PROTECTED] wrote: Opens two windows for me: (1) polar_bal.c and (2) polar_angle_d.c Is this good or bad ? Yakov actually this is what happens: it opens one

Re: search next, prev while in /pattern editing

2006-05-18 Thread Yakov Lerner
On 5/18/06, Eric Arnold [EMAIL PROTECTED] wrote: On 5/18/06, Eric Arnold [EMAIL PROTECTED] wrote: I think this does what you want. You only need to use /, though, since you can now go up and down while in / : cmap silent C-X c-cN:redrawCR/c-p cmap silent C-Z c-cn:redrawCR/c-p Thanks to

Re: CurorLine, set cursorline: slow, slower, slowest ?!

2006-05-18 Thread Meino Christian Cramer
From: Yakov Lerner [EMAIL PROTECTED] Subject: Re: CurorLine, set cursorline: slow, slower, slowest ?! Date: Thu, 18 May 2006 11:56:52 + On 5/18/06, Meino Christian Cramer [EMAIL PROTECTED] wrote: Hi, VIM has a neat feature to highlight the line the cursor is in. This makes reading

Re: Vim7 - intellisense problem

2006-05-18 Thread Aaron Griffin
On 5/18/06, Dan Clarke [EMAIL PROTECTED] wrote: In my workplace, our coding standard states that we have to declare our variables on the next line from the variable type. The intellisense in vim7 doesn't work when it's like this. Vim7 does not have Intellisense - Intellisense is a trademarked

Re: Tables.

2006-05-18 Thread Hari Krishna Dara
On Thu, 18 May 2006 at 8:23am, Benji Fisher wrote: On Wed, May 17, 2006 at 07:50:08PM -0700, Suresh Govindachar wrote: cga2000 wrote: But I was not thinking of these tab stops.. more in the line of typewriter stuff, I guess. Creating an imap involving the following

Re: right-to-left text selection

2006-05-18 Thread Hari Krishna Dara
On Wed, 17 May 2006 at 11:41pm, Jared wrote: On 5/17/2006 11:11 PM, Eric Arnold wrote: While the visual mode selection is active, hitting o moves to the opposite corner. SNIP Keep in mind that it doesn't work the same with a selection made by the mouse, since that leaves it in

Re: search next, prev while in /pattern editing

2006-05-18 Thread Hari Krishna Dara
On Thu, 18 May 2006 at 9:31am, Benji Fisher wrote: On Thu, May 18, 2006 at 12:27:26PM +, Yakov Lerner wrote: I am using incsearch. I wanted to define 2 mappings that act while I am in /search pattern editing mode, and that take me to next/prev match while leaving the cursor in

Re: clearing the command line

2006-05-18 Thread Hari Krishna Dara
On Thu, 18 May 2006 at 7:33am, Eric Arnold wrote: On 5/18/06, Yakov Lerner [EMAIL PROTECTED] wrote: On 5/18/06, Eric Arnold [EMAIL PROTECTED] wrote: I''ve been chasing this for a while, so I might as well ask, even though it seems like a stupid question. What's the right way to clear

problem with SVNCommit in svncommand.vim

2006-05-18 Thread Adam Olsen
Hello, Having a bit of trouble committing files. If I typed :SVNCommit or Leadersc, it always says the current file is not a working copy, for eg: --This line, and those below, will be ignored-- svn: 'exaile.py' is not a working copy At this point none of the following actually commit the

Re: Vertical selection

2006-05-18 Thread Gerald Lai
On Thu, 18 May 2006, John Love-Jensen wrote: Hi Eddine, Is it possible to make a vertical selection in a text, to have a rectangular selection in the text ? If so, how ? Yes, you are looking for the Visual mode blockwise. ^V to initiate Visual mode blockwise. Use movement keys to get to

Always display full path in tab?

2006-05-18 Thread Scot P. Floess
I have been looking through the documentation on vim (yes I even tried using :h tabline) in an attempt to always list the full path in my tabs. I can't see what option I need to enable so that the full path displays. Presently if I edit a file that exists in a rather long path, I see

Re: Always display full path in tab?

2006-05-18 Thread Mark Volkmann
On 5/18/06, Scot P. Floess [EMAIL PROTECTED] wrote: I have been looking through the documentation on vim (yes I even tried using :h tabline) in an attempt to always list the full path in my tabs. I can't see what option I need to enable so that the full path displays. Presently if I edit a

Re: Shell command history in VIM?

2006-05-18 Thread Gary Johnson
On 2006-05-18, Wijaya Edward [EMAIL PROTECTED] wrote: Hi, Is there a way to enable history view of all the shell command executed under vim, i.e. with :! shell_command If you are content to look at them one line at a time, just type :! and then use the up arrow to step through all of

Re: Always display full path in tab?

2006-05-18 Thread Steve Hall
From: Mark Volkmann, May 18, 2006 3:24 PM On 5/18/06, Scot P. Floess [EMAIL PROTECTED] wrote: list the full path in my tabs. I've also failed to find that, but I want the opposite. function! TabpageName(mode) if a:mode == 1 return fnamemodify(expand(%), :p:h)

Re: Vertical selection (fwd)

2006-05-18 Thread Gerald Lai
[I wasn't sure if Eddine sent this out to everybody, so I'm forwarding this to the list.] You're welcome, Eddine :) -- Gerald -- Forwarded message -- Date: Thu, 18 May 2006 22:20:24 +0200 From: Baha-Eddine MOKADEM [EMAIL PROTECTED] To: Gerald Lai [EMAIL PROTECTED] Subject: Re:

Re: Vertical selection

2006-05-18 Thread Charles E Campbell Jr
Baha-Eddine MOKADEM wrote: Is it possible to make a vertical selection in a text, to have a rectangular selection in the text ? If so, how ? In addition to the ctrl-v answer: vis.vim, available at http://vim.sourceforge.net/scripts/script.php?script_id=1195 , allows one to apply any Ex

Re: HTML editing with vim: where to start ?

2006-05-18 Thread Mikolaj Machowski
Dnia czwartek, 18 maja 2006 03:49, David Fishburn napisał: Since Ivan mentioned he is using PHP with his HTML, closetag will be very useful for him. PHP/HTML/XML omni-completion mixes *extremely* well :) m.

Re: HTML editing with vim: where to start ?

2006-05-18 Thread Mikolaj Machowski
Dnia środa, 17 maja 2006 22:27, Ivan Vecerina napisał: Mikolaj Machowski [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] : Dnia wtorek, 16 maja 2006 14:17, Ivan Vecerina napisał: : - get vim to automatically close/complete the innermost previously : opened tag. : : What do you

Oddities bugs

2006-05-18 Thread Gerald Lai
Hello all :) Just rehashing the recent threads that suggested some odd behavior with Vim 7. I haven't heard much about them on vim@vim.org, perhaps they've been fixed already. Anyway, here are the archive links all in one place: i_CTRL-E when completeopt has longest

Re: HTML editing with vim: where to start ?

2006-05-18 Thread A.J.Mechelynck
Mikolaj Machowski wrote: Dnia środa, 17 maja 2006 22:27, Ivan Vecerina napisał: Mikolaj Machowski [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] [...] [ I would never have fould this by chance, c-x does cut by default on my install... ] :behave mswin? [...] my

Re: Wierd message message on startup

2006-05-18 Thread A.J.Mechelynck
Furash Gary wrote: Today, when I open a file with gvim (windows), it shows me a popup with the following and seems to work okay. What is this telling me? There isn't any error message, it just prints out the following --- Auto-Commands --- filetypedetect BufEnter *.xpmif getline(1) =~

Re: Tables.

2006-05-18 Thread cga2000
On Thu, May 18, 2006 at 01:55:03PM EDT, Hari Krishna Dara wrote: On Thu, 18 May 2006 at 8:23am, Benji Fisher wrote: On Wed, May 17, 2006 at 07:50:08PM -0700, Suresh Govindachar wrote: cga2000 wrote: But I was not thinking of these tab stops.. more in the line of

Re: Tables.

2006-05-18 Thread 'cga2000'
On Wed, May 17, 2006 at 10:50:08PM EDT, Suresh Govindachar wrote: cga2000 wrote: But I was not thinking of these tab stops.. more in the line of typewriter stuff, I guess. Creating an imap involving the following operations might do the job: ---set up the typewriter

Re: Tables.

2006-05-18 Thread cga2000
On Thu, May 18, 2006 at 02:36:05AM EDT, Stano Sitar wrote: cga2000 napsal(a): The functionalities I had in mind would probably do something like this: 1. Assist text entry by letting you define tab stops, 2. Let you select a column of text and justify it, 3. Provide some means of

Re: Tables.

2006-05-18 Thread cga2000
On Thu, May 18, 2006 at 08:23:00AM EDT, Benji Fisher wrote: On Wed, May 17, 2006 at 07:50:08PM -0700, Suresh Govindachar wrote: cga2000 wrote: But I was not thinking of these tab stops.. more in the line of typewriter stuff, I guess. Creating an imap involving the

Re: Oddities bugs

2006-05-18 Thread Yegappan Lakshmanan
Hi Gerald, On 5/18/06, Gerald Lai [EMAIL PROTECTED] wrote: Hello all :) Just rehashing the recent threads that suggested some odd behavior with Vim 7. I haven't heard much about them on vim@vim.org, perhaps they've been fixed already. Anyway, here are the archive links all in one place: