Re: manual

2007-05-29 Thread Albie Janse van Rensburg
mode you're in): :help user-manual for more information about using the help system (one of Vim's greatest features), also check out :help -- Albie Janse van Rensburg ~ http://morph.telspace.co.za Please don't send me any MS Word or Powerpoint attachments unless it's abs

Re: Vim 7 show current column

2007-05-10 Thread Albie Janse van Rensburg
u are looking for is set statusline check out :help 'statusline' (for reference, I use the following in my vimrc: %<%f%h%m%r%=%b\ 0x%B\ \ %l,%c%V\ %P) -- Albie Janse van Rensburg ~ http://morph.telspace.co.za Please don't send me any MS Word or Powerpoint attachments unless it&

Re: Vim stalls when I try to enable syntax on vimrc (Cream

2007-05-04 Thread Albie Janse van Rensburg
A.J.Mechelynck wrote: Albie Janse van Rensburg wrote: Steve Hall wrote: From: Albie Janse van Rensburg, Fri, May 04, 2007 6:35 am I recently decided to try out the Cream build (sans Cream) of Vim, with all the new patches (from http://sourceforge.net/project/showfiles.php?group_id=43866

Re: Vim stalls when I try to enable syntax on vimrc (Cream

2007-05-04 Thread Albie Janse van Rensburg
Steve Hall wrote: From: Albie Janse van Rensburg, Fri, May 04, 2007 6:35 am I recently decided to try out the Cream build (sans Cream) of Vim, with all the new patches (from http://sourceforge.net/project/showfiles.php?group_id=43866&package_id=39721). Now, I seem to be unable to edi

Re: Vim stalls when I try to enable syntax on vimrc (Cream

2007-05-04 Thread Albie Janse van Rensburg
A.J.Mechelynck wrote: Albie Janse van Rensburg wrote: Hi all I recently decided to try out the Cream build (sans Cream) of Vim, with all the new patches (from http://sourceforge.net/project/showfiles.php?group_id=43866&package_id=39721). Now, I seem to be unable to edit my vimrc wit

Vim stalls when I try to enable syntax on vimrc (Cream

2007-05-04 Thread Albie Janse van Rensburg
on while editing other filetypes. When I reverted to the "official" Vim build for Windows (compiled May 7 2006), the problem disappeared. Is there anyone on this list that uses the Cream (sans Cream) build of Vim, and can someone confirm/help solve the problem? Albie gvim --ve

Re: how to enable mouse in vim of cygwin

2007-05-04 Thread Albie Janse van Rensburg
window=59 statusline=%<%1*=== %5*%f%1*%( === %4*%h%1*%)%( === %4*%m%1*%)%( === %4*%r%1*%) ===% %2*%b(0x%B)%1* === %3*%l,%c%V%1* === %5*%P%1* ===%0* viminfo=!,'20,<50,s10,h -- Albie Janse van Rensburg ~ http://morph.telspace.co.za Please don't send me any MS Word or Power

Re: how to enable mouse in vim of cygwin

2007-05-03 Thread Albie Janse van Rensburg
-native" your mouse should work fine with rxvt (mine does!) Cheers -- Albie Janse van Rensburg ~ http://morph.telspace.co.za Please don't send me any MS Word or Powerpoint attachments unless it's absolutely neccessary - send simply text. http://www.gnu.org/philosophy/no-word-

Re: FW: verilog-mode, veri-tedium

2007-04-27 Thread Albie Janse van Rensburg
-Original Message- From: Albie Janse van Rensburg [mailto:[EMAIL PROTECTED] Sent: Thursday, April 26, 2007 11:19 PM To: Normandie Azucena Cc: vim@vim.org Subject: Re: FW: verilog-mode, veri-tedium Normandie Azucena wrote: hi all vim lovers! is there no script available that

Re: FW: verilog-mode, veri-tedium

2007-04-26 Thread Albie Janse van Rensburg
Normandie Azucena wrote: hi all vim lovers! is there no script available that works like the veri-tedium plugin of xemacs? if there is none, can any guru do it? =) pls?pls?pls? What is xemacs? =) -- It is Fortune, not Wisdom, that rules man's life.

Re: Basic question, CTRL+Wh on Gvim, Win XP

2007-04-10 Thread Albie Janse van Rensburg
Samuel Wright wrote: Hi All, On my gvim 7 running on Win Xp none of the following work to move to another window (I'm actually using the project plugin, but I don't think that's relevant).. CTRL-W *CTRL-W_* CTRL-W CTRL-H*CTRL-W_CTRL-H* CTRL-W

Re: How to modify code so that only one space is between two characters or words?

2007-04-05 Thread Albie Janse van Rensburg
containing the word process followed with zero or more then one space(s) and then a ( should become: process ( process (clk,reset) process (clk27) proc_one : proccess (a,b,c) :%s/process \+(/process (/g or for all types of whitespace: :%s/process\s\+(/process (/g Rgds, Eric HTH Albie -- To have

Re: Problem with pastetoggle

2007-04-05 Thread Albie Janse van Rensburg
Jeffery Small wrote: I'm using vim 7.0 on a Solaris 9 system. If I put the following line in my .vimrc file: set pastetoggle=[192z Then when I am editing in insert mode, each time I hit ESC to return to command mode the cursor sit there jumping to the right and back continuously until anot

Re: ok, new question on search

2007-04-02 Thread Albie Janse van Rensburg
llowing mapping in my vimrc: nnoremap :set @/='' so pressing alt-/ then clears my search. -- Albie Janse van Rensburg It is only by risking our persons from one hour to another that we live at all. And often enough our faith beforehand in an uncertified result is the only thing that makes the result come true. -- William James

Re: Search & Replace in VIM Script

2007-03-27 Thread Albie Janse van Rensburg
was and the replacement string (REPL). The rest of the line is left unchanged. Hope that helps -- Albie Janse van Rensburg

Re: How to paste while keep the cursor at the same place?

2007-03-14 Thread Albie Janse van Rensburg
to a mark characterwise, whereas ' does so line-wise. -- Albie Janse van Rensburg (neonpill) Registered Linux User 438873 | <http://counter.li.org>

Re: match html tag

2007-03-13 Thread Albie Janse van Rensburg
n: "matchit.txt". Let's first copy the plugin to the right directory. This time we will do it from inside Vim, so that we can use $VIMRUNTIME. (You may skip some of the "mkdir" commands if you already have the directory.) > Regards Albie Jean-Rene David wrote:

Re: match html tag

2007-03-13 Thread Albie Janse van Rensburg
e filetype definitions to determine pairings. To set it, use: :set ft=html Regards Albie Akbar wrote: I still have problem. % does perfectly in C source code (mathing curly braces). But it does nothing in html tag for html file. Any idea? On 3/13/07, Albie Janse van Rensburg <[EMAIL

Re: match html tag

2007-03-13 Thread Albie Janse van Rensburg
You are looking for %. In order to enable the use of it, you need to enable the matchit plugin. See :help matchit Regards Albie Akbar wrote: Hi, I have this part of html file: haha The cursor is in first line (the opening div). When I hit certain key, the cursor will go to the third

Re: Red Tabs

2007-03-01 Thread Albie Janse van Rensburg
and seeing whether the problem persists? You might also have a search that highlights whitespace at the end of line, or some other highlighting set. -- Albie Janse van Rensburg (neonpill) Registered Linux User 438873 | <http://counter.li.org> "and composed by a woman's three bes

Re: trying to leave the GUI world and enter the world of VIM

2007-02-28 Thread Albie Janse van Rensburg
current window. Pressing Ctrl-W ENTER, however, opens a new window with the cursor on the selected instance of your search pattern. I can see I will be using this functionality extensively in the near future. Happy Vimming! -- Albie Janse van Rensburg (neonpill) Registered Linux User 438873 | <http://counter.li.org>

Re: [Was :wq vs ZZ] :!start command: need to be root

2007-02-14 Thread Albie Janse van Rensburg
ook at :help 'shellcmdflag' yet? There might be something you need to set in that variable and associated settings. -- Albie Janse van Rensburg (neonpill) Registered Linux User 438873 | <http://counter.li.org>

Re: :!start command: need to be root

2007-02-14 Thread Albie Janse van Rensburg
hould also be a way, probably using piped commands, to do something similar with su, but I can not confirm that right now (sending from an XP box). HTH -- Albie Janse van Rensburg (neonpill) Registered Linux User 438873 | <http://counter.li.org>

Re: Paste buffer

2007-02-14 Thread Albie Janse van Rensburg
he unnamed buffer AS WELL AS buffer 0. So you will still be able to paste the yanked data using 0p (or in insert mode, ^r0 - that is, ctrl+r; 0) -- Albie Janse van Rensburg (neonpill) Registered Linux User 438873 | <http://counter.li.org>

Re: 8 bit problem

2007-02-13 Thread Albie Janse van Rensburg
l you more. You could imap ALT-a to :a to get an umlaut a, and so forth for the other letters. This requires that :ver has +digraphs of course. Enjoy -- Albie Janse van Rensburg (neonpill) Registered Linux User 438873 | <http://counter.li.org>

Re: vim paste buffer

2007-02-08 Thread Albie Janse van Rensburg
u terminal, but then again, it might, if you get your settings right. Hope you find your solution soon -- Albie Janse van Rensburg (neonpill) Registered Linux User 438873 | <http://counter.li.org>

Re: vim paste buffer

2007-02-08 Thread Albie Janse van Rensburg
(Copied to group) Guillaume, just use your mail client's "Reply to all" function if you don't have a "Reply to list" option, that way the mail will go to the group, and you will get more answers ;-) Albie On 08/02/07, Albie Janse van Rensburg <[EMAIL PROT

Re: vim paste buffer

2007-02-08 Thread Albie Janse van Rensburg
Albie Janse van Rensburg wrote: Guillaume Bog wrote: Hi everbody, I'm new on this list. I use vim in a terminal on ubuntu everyday and still need some help for efficient use. If the file i'm editing is longer than one screen and I want to paste it somewhere else (say in a firefox te

Re: vim paste buffer

2007-02-08 Thread Albie Janse van Rensburg
rrent file's text into the x11 cut buffer by typing (in normal mode): gg"*G ...which you should be able to paste into firefox. Hope it helps -- Albie Janse van Rensburg (neonpill) Registered Linux User 438873 | <http://counter.li.org>

Re: color loading sequence in GVIM

2007-02-05 Thread Albie Janse van Rensburg
A.J.Mechelynck wrote: Albie Janse van Rensburg wrote: Eric Leenman wrote: Hi, I'm doing a reinstall of gvim and placing my color and font setting in a seperate file in the plugin. This file is located in: "C:\Program Files\Vim\vimfiles\plugin" And it contains the following:

Re: color loading sequence in GVIM

2007-02-05 Thread Albie Janse van Rensburg
iletype you want it to be used for. For instance, sql.vim will be loaded for .sql files. You can further specify what filetype to use for a file by creating a filetypes.vim file in the vimfiles/ftdetect directory. For more info about this, see :help ftdetect Also, :help syntax Hope that

Re: Verilog Indentation

2007-02-04 Thread Albie Janse van Rensburg
syntax, so try out :set cindent or, if that doesn't work well, one or a combination of the following :set smartindent :set autoindent Have a look in the vim help on the above, as well as :help indentexpr HTH -- Albie Janse van Rensburg (neonpill) Registered Linux User 438873 |

Re: hlsearch question

2007-01-24 Thread Albie Janse van Rensburg
A.J.Mechelynck wrote: Albie Janse van Rensburg wrote: [...] Why do you have anything in your search register upon vim startup anyway? Because the viminfo file remembers (among others) the search history. Best regards, Tony. Thanks. I didn't realize that. -- Albie Janse van Ren

Re: hlsearch question

2007-01-24 Thread Albie Janse van Rensburg
ess by prepending @ to the register name, i.e. @/ is the search register, @" is the default copy (yank) register, etc. let @/='' That command will clear the search. Why do you have anything in your search register upon vim startup anyway? Albie best regards Ralf Am Mittwoch, 24.

Re: delete buffer in tab but retain empty tab

2007-01-23 Thread Albie Janse van Rensburg
m = bufnum($) :enew :bd l:bufnum :endfunction this function should fail if the current buffer is still not saved. It is effective a stronger version of :enew. -- Albie Janse van Rensburg (neonpill) Registered Linux User 438873 | <http://counter.li.org>

Re: disable é map in tex-suite

2007-01-23 Thread Albie Janse van Rensburg
a script, which (in order for it to work) must be sourced after the TeX suite: see ":help after-directory". Best regards, Tony. -- Albie Janse van Rensburg (neonpill) Registered Linux User 438873 | <http://counter.li.org>

Re: use mesg/write out from Vim

2007-01-13 Thread Albie Janse van Rensburg
y use Vim on Windows, which is not supported. I might go try it at home sometime. http://www.wana.at/vimshell/ -- Albie Janse van Rensburg (neonpill) Registered Linux User 438873 | <http://counter.li.org>

Re: Reformat in visual area - vmap question

2007-01-10 Thread Albie Janse van Rensburg
Matthew Winn wrote: On Tue, 09 Jan 2007 17:45:56 +0200, Albie <[EMAIL PROTECTED]> wrote: First, run (in normal mode): :let mapleader That command will reveal the key you currently have configured to be your . Assuming the output of the above command is: mapleader

Re: Reformat in visual area - vmap question

2007-01-09 Thread Albie
he second command, replace ",=" above with ",g=". The defaults to \ on some installations, I believe. Regards -- Albie Janse van Rensburg (neonpill) Registered Linux User 438873 | <http://counter.li.org>

Re: Reformat in visual area - vmap question

2007-01-09 Thread Albie
= For the second command, replace ",=" above with ",g=". The defaults to \ on some installations, I believe. Regards -- Albie Janse van Rensburg (neonpill) Registered Linux User 438873 | <http://counter.li.org>

Re: .vimrc from URL

2007-01-05 Thread Albie
le: w:netrw_line E15: Invalid expression: "norm! ".w:netrw_line."G0".w:netrw_col."\" Press ENTER or type command to continue after which a new buffer window is opened (unsaved), containing: VIF1DF.tmp: File not found

Re: .vimrc from URL

2007-01-05 Thread Albie Janse van Rensburg
or (with g:netrw_ftp = 1): === (netrw) Processing your write request ***netrw*** Invalid command. Press to continue === How can I use netrw to write a file over ftp? I have tried various different methods to do this, but none seem to work

Re: i_CTRL-Y on Windows

2006-12-27 Thread Albie
enting out the following line in your "_vimrc" should make vim behave as you would expect normally (non-windows platforms) : source $VIMRUNTIME/mswin.vim Just add a " (inverted commas) to the beginning of the line to fix vim ;-) Regards Albie Janse van Rensburg striker wrote: I freq

Re: set number indentation

2006-12-21 Thread Albie
:set numberwidth= I.B. wrote: Hi, does anyone know how to change indentation of line numbering (set nu)? tabstop and shiftwidth do nothing about it. thanx a lot ~igRek

dbext omni-completion issue

2006-12-19 Thread Albie Janse van Rensburg
al (development, on localhost) and a live database (also sql server). What is the meaning of this error, and what can I do to get completion working? Regards Albie Janse van Rensburg