replace number with zero-packed number

2007-05-08 Thread Luke Vanderfluit
Hi. I have a csv file that contains a field with a number, say 98. I need to zerofill the fields to be 6 digits. So any field that is say 98, should become 98. Is there an easy way to do this with search and replace? Thanks. Kind regards. -- Luke Vanderfluit Analyst / Web Programmer e3Learn

Re: RSS not working

2007-05-08 Thread Thomas
Luis A. Florit wrote: * El 07/05/07 a las 10:37, Thomas chamullaba: For scripts you can also use: http://feed43.com/vim-scripts.xml This is an inofficial feed using a free screen scraping service (which explain the small ad in the item footer) though.

Re: VimWiki - again - but with a brand new option

2007-05-08 Thread Ian Tegebo
On 5/8/07, Gary Johnson <[EMAIL PROTECTED]> wrote: On 2007-05-08, Ian Tegebo <[EMAIL PROTECTED]> wrote: > On 5/8/07, Bram Moolenaar <[EMAIL PROTECTED]> wrote: > > > > Ian Tegebo wrote: > > > I would like to make another implementation independent suggestion; > > > one could make a VimWiki more

Re: RSS not working

2007-05-08 Thread Luis A. Florit
* El 07/05/07 a las 10:37, Thomas chamullaba: > For scripts you can also use: > http://feed43.com/vim-scripts.xml That worked, thanks. Wouldn't it be nice to update the RSS link in vim's script page http://www.vim.org/scripts/index.php ?? Thanks! L.

Re: VimWiki - again - but with a brand new option

2007-05-08 Thread Gary Johnson
On 2007-05-08, Ian Tegebo <[EMAIL PROTECTED]> wrote: > On 5/8/07, Bram Moolenaar <[EMAIL PROTECTED]> wrote: > > > > Ian Tegebo wrote: > > > I would like to make another implementation independent suggestion; > > > one could make a VimWiki more valuable by importing the _extremely_ > > > valuable

Re: [Announcement] Subversion repository location changed

2007-05-08 Thread Edward L. Fox
On 5/9/07, Suresh Govindachar <[EMAIL PROTECTED]> wrote: Edward L. Fox announced: > Hi Vimmers, > > The directories structure of the Subversion repository has been > changed. Please use this command to checkout the latest sources: > > svn co https://vim.svn.sourceforge.net/svnroo

RE: [Announcement] Subversion repository location changed

2007-05-08 Thread Suresh Govindachar
Edward L. Fox announced: > Hi Vimmers, > > The directories structure of the Subversion repository has been > changed. Please use this command to checkout the latest sources: > > svn co https://vim.svn.sourceforge.net/svnroot/vim/branches/vim7.1 vim7 > > If you had checked o

Re: WARNING! Don't update your local svn repository now!

2007-05-08 Thread Edward L. Fox
On 5/9/07, Edward L. Fox <[EMAIL PROTECTED]> wrote: Hi Vimmers, As many many people requested, I finally decide to obey the svn book's advice and will build up trunk/ tags/ and branches/. But so far as you know, sf.net's svn service is not in a good status so I'm not able to commit all changes o

Could you please give me the most bleeding-edge sources?

2007-05-08 Thread Edward L. Fox
Hi Bram, I noticed that you also maintained another CVS repository besides the sf.net's CVS repository. And many changes to that internal CVS won't be applied to the sf.net's CVS repository unless a large release is to be made. In my opinion, as the SVN repository is now standardized, could you

[Announcement] Subversion repository location changed

2007-05-08 Thread Edward L. Fox
Hi Vimmers, The directories structure of the Subversion repository has been changed. Please use this command to checkout the latest sources: svn co https://vim.svn.sourceforge.net/svnroot/vim/branches/vim7.1 vim7 If you had checked out a copy of the sources before, please run this command in yo

Re: how to open an already opened file into an new tab?

2007-05-08 Thread A.J.Mechelynck
lin q wrote: Hi, Let us say VIM already have f1 and f2 opened in 2 tabs, when I opened f2 I use this command: vim --servername GVIM1 --remote-tab f2 This causes that on the tabline, the full path of f2 shows after some abbreviation. Now I want to open f2 into another tab, but I do not fi

Re: editor size

2007-05-08 Thread Michael Henry
linda.s wrote: On 5/7/07, Michael Henry <[EMAIL PROTECTED]> wrote: Try this in your .gvimrc: set columns=78 I set columns=78 but when I opened vim editor, I found the editor's column size to be 70. Why? Linda, Are you using a console version (text-mode only, typically invoked with `vim`

Re: VimWiki - again - but with a brand new option

2007-05-08 Thread Ian Tegebo
On 5/8/07, Bram Moolenaar <[EMAIL PROTECTED]> wrote: Ian Tegebo wrote: > On 5/6/07, Sebastian Menge <[EMAIL PROTECTED]> wrote: > > Hi all > > > > Independent of the implementation used, I suggest to develop good > > guidelines. The Wiki should be really valuable and not redundant to > > vim-tip

WARNING! Don't update your local svn repository now!

2007-05-08 Thread Edward L. Fox
Hi Vimmers, As many many people requested, I finally decide to obey the svn book's advice and will build up trunk/ tags/ and branches/. But so far as you know, sf.net's svn service is not in a good status so I'm not able to commit all changes once. So I have to commit many times to build up this

Re: automatically enter normal mode

2007-05-08 Thread A.J.Mechelynck
Halim, Salman wrote: You can have something happen on multiples of CursorHold and CursorHoldI by doing something like this (untested): :let g:flag = 0 :au CursorHoldI * if g:flag == 1 | doSomething | let g:flag = 0 | else | let g:flag += 1 | endif The 'doSomething' bit should only happen every

Re: how to open an already opened file into an new tab?

2007-05-08 Thread Taylor Venable
On Tue, 08 May 2007 15:45:40 -0600 "lin q" <[EMAIL PROTECTED]> wrote: > This causes that on the tabline, the full path of f2 shows after > some abbreviation. Now I want to open f2 into another tab, but I do > not find an easy way to do that. > > If use :tabe, I need to type in the full path o

how to open an already opened file into an new tab?

2007-05-08 Thread lin q
Hi, Let us say VIM already have f1 and f2 opened in 2 tabs, when I opened f2 I use this command: vim --servername GVIM1 --remote-tab f2 This causes that on the tabline, the full path of f2 shows after some abbreviation. Now I want to open f2 into another tab, but I do not find an easy wa

Re: automatically enter normal mode

2007-05-08 Thread A.J.Mechelynck
Eric Smith wrote: On 08/05/07, A.J.Mechelynck <[EMAIL PROTECTED]> wrote: In an autocommand, you need an ex-command, which isn't. I suggest :au CursorHoldI * stopinsert Make sure 'updatetime' has a long enough value (the default is 4000, i.e., 4 seconds, which might be a little shor

RE: automatically enter normal mode

2007-05-08 Thread Halim, Salman
You can have something happen on multiples of CursorHold and CursorHoldI by doing something like this (untested): :let g:flag = 0 :au CursorHoldI * if g:flag == 1 | doSomething | let g:flag = 0 | else | let g:flag += 1 | endif The 'doSomething' bit should only happen every other CursorHoldI firin

Re: automatically enter normal mode

2007-05-08 Thread Eric Smith
On 08/05/07, A.J.Mechelynck <[EMAIL PROTECTED]> wrote: In an autocommand, you need an ex-command, which isn't. I suggest :au CursorHoldI * stopinsert Make sure 'updatetime' has a long enough value (the default is 4000, i.e., 4 seconds, which might be a little short for some people).

Re: automatically enter normal mode

2007-05-08 Thread A.J.Mechelynck
Eric Smith wrote: I want a vim left in insert mode after n seconds of inactivity to automatically go into normal mode and tried: au CursorHoldI * But this gives an error. How? In an autocommand, you need an ex-command, which isn't. I suggest :au CursorHoldI * stopinsert Make sur

automatically enter normal mode

2007-05-08 Thread Eric Smith
I want a vim left in insert mode after n seconds of inactivity to automatically go into normal mode and tried: au CursorHoldI * But this gives an error. How? -- Eric Smith

Re: VimWiki - again - but with a brand new option

2007-05-08 Thread Bram Moolenaar
Ian Tegebo wrote: > On 5/6/07, Sebastian Menge <[EMAIL PROTECTED]> wrote: > > Hi all > > > > Independent of the implementation used, I suggest to develop good > > guidelines. The Wiki should be really valuable and not redundant to > > vim-tips or mailing-lists. > > I would like to make another im

Re: Mercurial + vimhelp = vimwiki? (was VimWiki - again...)

2007-05-08 Thread Martin Krischik
Am Dienstag 08 Mai 2007 schrieb Martin Krischik: > Am Dienstag 08 Mai 2007 schrieb Michael F. Lamb: > > Rather than "importing" the vim help files into existing wiki software, > > what if one were to create a wiki system that acts simply as an HTML > > view onto vimhelp-formatted files. (These act

Re: Define regexp

2007-05-08 Thread Tim Chase
let @x = '^ \+[1-9][0-9]\{3}-[-A-Z0-9]*. \+$' You don't even need to load it explicitly in the vimrc, registers are remembered by the viminfo (see ":help viminfo"). ...as long as your copy of vim is 1) compiled with +viminfo 2) set to use viminfo (non-empty 'viminfo') and 3) the 'viminfo' set

Re: Define regexp

2007-05-08 Thread A.J.Mechelynck
Tim Chase wrote: Is it possible to "define" a regular expression so that it remembered (.vimrc?) and i can just refer to the name of the regexp rather than type the whole thing, eg. something like: define myregexp = '^ *[1-9][0-9]\{3}-[A-Z0-9\-]*\. *$' and then in command line i just do: :g/m

Re: Mercurial + vimhelp = vimwiki? (was VimWiki - again...)

2007-05-08 Thread Martin Krischik
Am Dienstag 08 Mai 2007 schrieb Michael F. Lamb: > Rather than "importing" the vim help files into existing wiki software, > what if one were to create a wiki system that acts simply as an HTML > view onto vimhelp-formatted files. (These act already as hypertext > documents.) Then, we make the sou

Re: VimWiki - again - but with a brand new option

2007-05-08 Thread Martin Krischik
Am Dienstag 08 Mai 2007 schrieb Ian Tegebo: > It's fun to dream! I'm serious about getting the helpfiles imported into > the Wiki though. I know about the VimDoc project; I think this could be > the next evolution in that direction. Well, first one of the administrators of http://sourceforge.ne

RE: autocomplete on the command line from words in buffers

2007-05-08 Thread Dan Fabrizio
Does anyone know if there is a plugin that does this kind of thing? I would be able to see the source to get more details on how this would be done. Thank you for all the advice below. -Dan -Original Message- From: Suresh Govindachar [mailto:[EMAIL PROTECTED] Sent: Monday, May 07, 200

Re: Define regexp

2007-05-08 Thread Tim Chase
Is it possible to "define" a regular expression so that it remembered (.vimrc?) and i can just refer to the name of the regexp rather than type the whole thing, eg. something like: define myregexp = '^ *[1-9][0-9]\{3}-[A-Z0-9\-]*\. *$' and then in command line i just do: :g/myregexp/s//somethi

Re: VimWiki - again - but with a brand new option

2007-05-08 Thread Sebastian Menge
Am Montag, den 07.05.2007, 16:07 -0700 schrieb Ian Tegebo: > The Wiki would ideally understand how to link to vim-scripts and vim-tips like > vimonline currently does. As a bonus, mailing-list posts would also linkable Easy:http://en.wikipedia.org/wiki/Interwiki#Shorthand_for_non-wiki_sites For W