Re: Insert new blank line in normal mode

2007-02-23 Thread A.J.Mechelynck
Alexey Vakhov wrote: Hi Dear community, Command o and O create new line and switch to insert mode. I want only insert blank line and stay in normal mode. I know this problem can be solved using simple mappting, but maybe in vim there are original commands for this tip? Thanks a lot IIUC

Re: Insert new blank line in normal mode

2007-02-23 Thread A.J.Mechelynck
Kev wrote: A.J.Mechelynck wrote: Alexey Vakhov wrote: Hi Dear community, Command o and O create new line and switch to insert mode. I want only insert blank line and stay in normal mode. I know this problem can be solved using simple mappting, but maybe in vim there are original commands

Re: Insert new blank line in normal mode

2007-02-23 Thread A.J.Mechelynck
A.J.Mechelynck wrote: [...] :command -bar -bang -range -nargs=* Iline \ if q-bang == '!' | line1put! =q-args | \ else | line2put =q-args | endif Best regards, Tony. The following is maybe easier to understand -- or maybe not: :command -nargs=0 -bar -bang -range -reg Put

Re: VimTips - Google Wiki Usefulness

2007-02-23 Thread A.J.Mechelynck
Tom Purl wrote: I've done a bit of work on the vimtips wiki at Google the last few days, and it's come to my attention that it isn't really designed to do what we want it to do. The Google wiki is designed to be used by a small number of people working on a particular open source project. It

Re: VimTips - Google Wiki Usefulness

2007-02-23 Thread A.J.Mechelynck
Yakov Lerner wrote: [...] My opinion is that that wikipedia-style wiki is the best. It's scalable, it proved itself, i think it's easy on admins, afaik it's used not only by wikipedia. Regarding anonymous contributions, they proved problematic on vim.org/tips. Anonymous contrib was what created

Re: VimTips - Google Wiki Usefulness

2007-02-23 Thread A.J.Mechelynck
Brian McKee wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 23-Feb-07, at 3:00 PM, Brian McKee wrote: On 23-Feb-07, at 2:32 PM, Tom Purl wrote: I've done a bit of work on the vimtips wiki at Google the last few days, and it's come to my attention that it isn't really designed to do

Re: Insert new blank line in normal mode

2007-02-23 Thread A.J.Mechelynck
Andy Wokula wrote: A.J.Mechelynck schrieb: Alexey Vakhov wrote: Hi Dear community, Command o and O create new line and switch to insert mode. I want only insert blank line and stay in normal mode. I know this problem can be solved using simple mappting, but maybe in vim there are original

Re: VimTips - Google Wiki Usefulness

2007-02-23 Thread A.J.Mechelynck
Brian McKee wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 23-Feb-07, at 3:55 PM, A.J.Mechelynck wrote: Waiting for email (with a pseudorandom confirmation code) proves that the registration wasn't requested in your name by someone else. It requires no human intervention server-side

Re: different indenting for Ruby files

2007-02-23 Thread A.J.Mechelynck
Jabba Laci wrote: Hi, I always use 3 spaces for indenting. Now I started to learn Ruby, and the style guide says Ruby developers prefer 2 spaces. I just wonder how I could change the indenting just for *.rb files. Thanks, Laszlo see :help 'tabstop'

Re: Insert new blank line in normal mode

2007-02-23 Thread A.J.Mechelynck
for_lists wrote: I guess I just don't get it. oesc - 2 key presses :put_enter - 6 key presses (8 if you count shift) Why is ':put_' or other variants easier? -Brian :put is an ex-command. I spoke of using oEsc at the keyboard, or :put ='' in a script. To use oesc in a *script*, you must use

Re: different indenting for Ruby files

2007-02-23 Thread A.J.Mechelynck
Simon Jackson wrote: # Method II (in the vimrc) # autocommand FileType ruby setlocal sts=2 et I tried this and i got: not an editor command Oops! s/autocommand/autocmd Best regards, Tony. -- hundred-and-one symptoms of being an internet addict: 60. As your car crashes through the

Re: hlsearch on dark back ground

2007-02-22 Thread A.J.Mechelynck
Pádraig Brady wrote: [...] I don't see the issue. hls will just invert the fg bg colours. So if you can it fine unhighlighted, the invert should be OK too? Can you describe the colours you see (or better yet take a screenshot) I use vim on dark terminals exclusively and have tweaked things a

Re: codepage for vim 7 windows console

2007-02-22 Thread A.J.Mechelynck
[EMAIL PROTECTED] wrote: Hello, I now use vim 7 for DOS batching in WinXP. If I use umlaut (äöüß) in vim 7, it is displayed correctly. But vim 7 saves the buffer using the Windows Codepage, like gvim does! The buffer content is the same when saved by gvim and vim. So I cannot i.e. correctly

Re: search something from vim in certain directory

2007-02-22 Thread A.J.Mechelynck
Peng Yu wrote: On 2/22/07, Jean-Rene David [EMAIL PROTECTED] wrote: * Peng Yu [2007.02.22 11:15]: I have a C++ project in some dir say project or its subdir. Although I can use find and grep outside vim to search for any word in project. But this is not very convenient. Well you can use an

Re: Sorting a .bib file

2007-02-22 Thread A.J.Mechelynck
Vincent Beffara wrote: Dear list, First of all, this is a great mailing list ! I am learning lot. So here is my question. I have a bibliography in a .bib file, which (just in case) is just a plain text files containing entries that each look like this : @article{key, author =

Re: scripts repository

2007-02-22 Thread A.J.Mechelynck
Simon Jackson wrote: in debian based linux distros, you can type the following.. apt-get install program ...and the system will download the appropriate files to install that program does vim offer anything like this? if not how hard would this be to implement? IIUC, apt-get is a

Re: Cannot run background process in gvim 7

2007-02-21 Thread A.J.Mechelynck
Manu Hack wrote: gvim --version gives [...] So? What exactly are you trying to do? How does it fail? Best regards, Tony. -- 'Twas midnight, and the UNIX hacks Did gyre and gimble in their cave All mimsy was the CS-VAX And Cory raths outgrabe. Beware the software rot, my son! The faults that

Re: question about auto indenting tab width

2007-02-21 Thread A.J.Mechelynck
shawn bright wrote: lo there all. i found where i can set my tab stop in .vimrc to 4, but i can't seem to find where to set it to 4 when i have an auto indent. for example, in python, if i do a for x in range(20): it auto indents 8 spaces and i need it to auto indent 4 any tips are

Re: Solaris 10, VIM, and Tab completion

2007-02-21 Thread A.J.Mechelynck
Bruno Hivert wrote: Hello all, I tried to get the automatic command completion to work under solaris 10, but for some simple reasons it does not seem to work. Whatever build option I try (athena/GTK/Motif), and even if I try to download the version compiled by SUN, I cannot do something as

Re: Help needed to : Start on the line where I left when I opened the file last time

2007-02-21 Thread A.J.Mechelynck
durgaprasad jammula wrote: Hi, I just need some help on vim configuration. Let say the file is good.text. I open the file and goto 66 line and come out by typing :wq in escape mode. Now, when I open it again, my cursor is placed in line 0. I want it to be placed in line 66.

Re: Help needed to : Start on the line where I left when I opened the file last time

2007-02-21 Thread A.J.Mechelynck
David Fishburn wrote: Read http://vim.sourceforge.net/tips/tip.php?tip_id=80 , Restore cursor to file position in previous editing session. This tip does most of what I want thanks to the additional notes section. I have realized, this only returns us to the row we were on. Does anyone know

Spaces vs. tabs (Was: hello again)

2007-02-21 Thread A.J.Mechelynck
shawn bright wrote: hello again from the newbie. Please use a more descriptive Subject line: I almost threw your mail away as spam. i was wondering if there is an option to use spaces instead of tabs in my indenting and tabbing, especially when in python. Sure. See: :help

Re: hlsearch on dark back ground

2007-02-21 Thread A.J.Mechelynck
Kamaraju S Kusumanchi wrote: consider $ cat file.c /* kamaraju * kamaraju * kamaraju */ kamaraju I use konsole with black background and white foreground on Debian Etch, vim 7.0.122 $ cat .vimrc set hls syn enable With this configuration, if I do set background=dark and search for the

Re: hlsearch on dark back ground

2007-02-21 Thread A.J.Mechelynck
Kamaraju S Kusumanchi wrote: A.J.Mechelynck wrote: Kamaraju S Kusumanchi wrote: consider $ cat file.c /* kamaraju * kamaraju * kamaraju */ kamaraju I use konsole with black background and white foreground on Debian Etch, vim 7.0.122 $ cat .vimrc set hls syn enable

Re: hlsearch on dark back ground

2007-02-21 Thread A.J.Mechelynck
Kamaraju S Kusumanchi wrote: A.J.Mechelynck wrote: Most console terminals have only 8 background colours, 16 foreground colours. Some have 16 of both. Non-bright yellow (including every background yellow) is usually shown as brown. Whether you can or cannot change the terminal's colour palette

Re: entering copied text into command mode?

2007-02-21 Thread A.J.Mechelynck
Lev Lvovsky wrote: Hi Gene - sorry for the delay in replying - On Feb 16, 2007, at 8:11 AM, Gene Kwiecinski wrote: I often find myself copy/pasting via my GUI text that I might have on the screen, and then pasting it into the command to be performed - is there any way to cut/paste text into

[Fwd: Re: hlsearch on dark back ground]

2007-02-21 Thread A.J.Mechelynck
From: Konstantin Baierer [EMAIL PROTECTED] To: A.J.Mechelynck [EMAIL PROTECTED] References: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] Hey Kamaraju, To test your terminal's colouring abilities, try this little perl script by Todd Larason (http://www.cs.rice.edu/~scrosby/software

Re: Cursor position - file history

2007-02-20 Thread A.J.Mechelynck
David Woodfall wrote: Is there any way of getting vim to remember more previously opened file cursor positions? Searching for history only yields command history. From :help jumplist: there is a separate list per window; the number of entries is fixed at 100. Best regards, Tony. --

Re: perl questioin.

2007-02-20 Thread A.J.Mechelynck
Matthew Winn wrote: On Mon, 19 Feb 2007 23:28:08 -0800, ayoub890 [EMAIL PROTECTED] wrote: I am running a perl script in a command inside make. I am trying to pass an environment variable to perl, modify it inside perl and see it changed inside make after returning from the perl script. What

Re: Reread the file

2007-02-20 Thread A.J.Mechelynck
Bin Chen wrote: Hi, Can VIM configured to reload the opened file in a constant interval? Thanks. ABAI That requires a lot of fancy footwork, because the CursorHold and CursorHoldI events (q.v.) are fired if you don't hit a key for 'updatetime' milliseconds, but not again. Best

Re: Caseless tag matching

2007-02-20 Thread A.J.Mechelynck
Jeenu V wrote: I'm using ctags and I want to do case less matching for tags. I tried setting the 'ignorecase' and 'infercase', but that doesn't give me the actual tag I need to insert. The word, it completes is correct, but they are wholly either in upper case or lower case. Any way to go?

Re: Insert mode and arrow keys philosophy

2007-02-20 Thread A.J.Mechelynck
Pavel Shevaev wrote: Hi folks! AFAIK usage of arrow keys in vim should be avoided at all costs since h/j/k/l allows one to be more efficient in command mode. But how about insert mode? Should one avoid using arrow keys in insert mode as well and switch to command mode and then back to insert

Re: French characters (how?)

2007-02-20 Thread A.J.Mechelynck
Peter wrote: I am using vim over ssh. The remote OS is FreeBSD 6.2 and the local OS is Kubuntu. Both remote and local shells are bash. So far I can write French characters in the shell remotely (mkdir, touch) and when using vim I can write some characters but when I open the file again with

Re: Enabling gvim?

2007-02-20 Thread A.J.Mechelynck
[EMAIL PROTECTED] wrote: I d/l'd and cofigured vim7.x (latest) as follows... ./configure --prefix=/vimpath --enable-gui Should this enable gvim? I did a make install, and cd /vimpath/bin ln -s vim gvim When I start gvim, I get E25: GUI cannot be used: Not enabled at compile time What

Re: Insert mode and arrow keys philosophy

2007-02-20 Thread A.J.Mechelynck
DervishD wrote: Hi Laurent :) * vim [EMAIL PROTECTED] dixit: The idea behind using h/j/k/l is to avoid moving your hand/wrist too often while going back and forth between your keyboard and the arrow set (although the use of h/j/k/l might have originated for other reasons back in the old

Re: Marking an undo-block before ^U in insert-mode

2007-02-20 Thread A.J.Mechelynck
Tim Chase wrote: :help nop but rather is being interpreted as less-than, en, oh, pee, greater-than and the en portion of it is trying to look for the last regexp. Try (untested): :inoremap c-u c-oltNopc-u This is the behavior I _see_, but that I understood having nop should send a

Re: Enabling gvim?

2007-02-20 Thread A.J.Mechelynck
[EMAIL PROTECTED] wrote: Ok, how do I tell ./configure where X11 include/lib dirs are? I tried the --x-includes=DIR and --x-libraries=DIR to no avail. Seems like it can't find them so it throws away gui support. Do you have the _header_ files for _compiling_ with X11 installed? On my

[Fwd: Re: Insert mode and arrow keys philosophy]

2007-02-20 Thread A.J.Mechelynck
Apparently the original message was bounced by the listbot. Best regards, Tony. Original Message Subject:Re: Insert mode and arrow keys philosophy Date: Tue, 20 Feb 2007 11:58:45 -0800 From: Raimon Grau [EMAIL PROTECTED] To: A.J.Mechelynck [EMAIL PROTECTED] CC

Re: changing font size with scroll

2007-02-20 Thread A.J.Mechelynck
Simon Jackson wrote: I would like to increase/decrease the font size by one when i hold down ctrl and scroll the wheel. is this possible? It may be possible, but not easy, since the font size must be extracted from the 'guifont' option, and the latter has 5 incompatible formats, viz. GTK+2,

Re: Quickfix window not working anymore

2007-02-19 Thread A.J.Mechelynck
Bill McCarthy wrote: On Mon 19-Feb-07 7:21am -0600, A.J.Mechelynck wrote: Works for me. For me too. BTW, Tony, I've never used :copen before - I use :cw . There look the same but the documentation doesn't seem to indicate that they are the same. What's the difference between :copen

Re: Quickfix window not working anymore

2007-02-19 Thread A.J.Mechelynck
Ryan Phillips wrote: Gautam Iyer [EMAIL PROTECTED] said: Hi All, I just upgraded to Vim-7.0.195, and found that my quick fix bindings don't work any more. For instance :vimgrep /pattern/ *.c :copen Then pressing Enter on a particular error does not move to that error location quick

Re: question about mapping

2007-02-19 Thread A.J.Mechelynck
shawn bright wrote: hello there all, i am very new to vim, but i really dig it. I tried out a script plugin from vim.org and when i start vim, there is an error message that says Error detected while processing /home/piv/.vim/plugin/snippetsE mu.vim: line 163: E227: mapping already exists for

Re: Overview of diretories of $HOME/.vim

2007-02-19 Thread A.J.Mechelynck
Kai Weber wrote: Hello, where can I find an overview of the $HOME/.vim directory hierarchie? I have not found an overview, seems I have to read all the vim documentation for :help ftplugin, :help initialization and so on. I am searching for a short overview like foo -- contains files for

Re: auto closing tags in HTML

2007-02-19 Thread A.J.Mechelynck
Simon Jackson wrote: how do i tell vim to close html tags as i'm writing them and place the cursor in between the 2 tags? example: if i type.. p then vim replaces it with p/p and places my cursor should be between '' and '' To do exactly that, you would have to write, probably, an

Re: limited fonts in gVim

2007-02-19 Thread A.J.Mechelynck
Simon Jackson wrote: Im on a windows machine and the choice of fonts to use is VERY limited, is there a way to use any true type font i have installed on the machine? Gvim can only use fixed-width fonts. Some fixed-width fonts (such as Courier New) are TrueType or OpenType, and can be used.

Re: show only filenames in tabs

2007-02-19 Thread A.J.Mechelynck
Simon Jackson wrote: is there anyway to only show the name of the file up in the tabs rather than the entire path? example: this.. index.html instead of this.. \M\s\g\h\e\n\f\index.html Sure. You can customise the tabline however you will. See: - for Console Vim, or when 'guioptions' does

Re: patch 7.0.193

2007-02-18 Thread A.J.Mechelynck
Bram Moolenaar wrote: Alexei Alexandrov wrote; Hi Bram Moolenaar, you wrote: Patch 7.0.193 Problem:Using --remote or --remote-tab with an argument that matches 'wildignore' causes a crash. Solution: Check the argument count before using ARGLIST[0]. Files: src/ex_cmds.c

Re: Is _every_ command starting with a colon an ex command?

2007-02-18 Thread A.J.Mechelynck
Larry Alkoff wrote: A.J.Mechelynck wrote: Thanks Tim, Yakov and Martin. I'll just ASSume from now on that, if it starts with a colon, it may as be an ex command. Very interesting information on the use of ex. Larry Vhat Vim calls ex-commands are prefixed by a colon when typed

Re: Is _every_ command starting with a colon an ex command?

2007-02-18 Thread A.J.Mechelynck
Larry Alkoff wrote: A.J.Mechelynck wrote: Thanks Tim, Yakov and Martin. I'll just ASSume from now on that, if it starts with a colon, it may as be an ex command. Very interesting information on the use of ex. Larry Vhat Vim calls ex-commands are prefixed by a colon when typed

Re: Is _every_ command starting with a colon an ex command?

2007-02-17 Thread A.J.Mechelynck
Larry Alkoff wrote: Tim Chase wrote: I know every ex command starts with a colon. Is the reverse true in every case? Is _every_ command that starts with a colon an ex command? Examples :helpIs this an ex command? :versionIs this? :blahblahThis? My understanding is that

Re: setlocal enc=utf8 and mappings

2007-02-16 Thread A.J.Mechelynck
DervishD wrote: Hi all :) I'm having a problem that I know how to solve, but I wonder if I'm doing the right thing... Some weeks ago I asked a couple of things about encodings on the list, and based on the answers, I finally did a proper setup to edit UTF-8 files from time to time

Re: entering copied text into command mode?

2007-02-16 Thread A.J.Mechelynck
Larry Alkoff wrote: Erlend Hamberg wrote: On Friday 16 February 2007, A.J.Mechelynck wrote: Maybe -- I've never understood how to properly use the * register under X11. What comes from Edit = Copy (or Ctrl-C) in some non-Vim program arrives in the + register in gvim, and what I yank

Re: Missing configuration commands in vim 7?

2007-02-16 Thread A.J.Mechelynck
Charles E Campbell Jr wrote: Larry Alkoff wrote: I have a desktop and newly configured laptop with different versions of vim. The desktop has vim 6.4.6 which contains the lines in ~/.vimrc set mouse=a syntax on They show in :help The laptop has vim 7.0.35 and gives an error on the above

Re: Missing configuration commands in vim 7?

2007-02-16 Thread A.J.Mechelynck
Larry Alkoff wrote: Charles E Campbell Jr wrote: Larry Alkoff wrote: I have a desktop and newly configured laptop with different versions of vim. The desktop has vim 6.4.6 which contains the lines in ~/.vimrc set mouse=a syntax on They show in :help The laptop has vim 7.0.35 and gives an

Re: list

2007-02-16 Thread A.J.Mechelynck
Michael Phillips wrote: How do I get part of a line into a list? TIA Michael D. Phillips - A computer science enthusiast I do not hate Windows, I just like the alternatives better. Linux is my primary choice. How do you define which part of which lines should go into the list? One

Re: list

2007-02-16 Thread A.J.Mechelynck
Michael Phillips wrote: I am trying to do this in a script. I want this script to pick you certain information and put it into a list. After that delete the content and output the list. 1. Please bottom-post in these lists. 2. Please Reply to List (if your mailer offers it) or Reply to All

Re: Missing configuration commands in vim 7?

2007-02-16 Thread A.J.Mechelynck
Larry Alkoff wrote: A.J.Mechelynck wrote: Larry Alkoff wrote: Charles E Campbell Jr wrote: Larry Alkoff wrote: I have a desktop and newly configured laptop with different versions of vim. The desktop has vim 6.4.6 which contains the lines in ~/.vimrc set mouse=a syntax on They show

Re: vim color for white background

2007-02-16 Thread A.J.Mechelynck
atstake atstake wrote: I have a white background and I set background color as dark which is not really eye-candy. I do lots of sh/awk/sed/perl/C/make coding and also use vim for mutt and also writing plain text documents, edit conf/rc files etc. Which color would be the best for white

Re: External command with arguments (WinXP): cmd /c problem

2007-02-15 Thread A.J.Mechelynck
[EMAIL PROTECTED] wrote: Hm, this is strange, the windows shell cmd (not vim!) has problems with the following: cmd.exe /c C:\Programme\Microsoft Office\Office10\OUTLOOK.EXE /a c:\Dokumente und Einstellungen\hofjoa41\Eigene Dateien\test.txt - C:\Programme\Microsoft not found If I use the

Re: Encoding problem

2007-02-15 Thread A.J.Mechelynck
David Woodfall wrote: SOLVED! Well I think I fixed by rtfm: :set termenc=cp1252 Seems to work, but I don't know yet whether it breaks anything else. 'termencoding' tells Vim (in both the Console and GUI versions) how your keyboard translates data and (in the Console version only) how the

Re: entering copied text into command mode?

2007-02-15 Thread A.J.Mechelynck
Theerasak Photha wrote: On 2/15/07, Lev Lvovsky [EMAIL PROTECTED] wrote: I often find myself copy/pasting via my GUI text that I might have on the screen, and then pasting it into the command to be performed - is there any way to cut/paste text into the command area when I have it highlighted

Re: tips project

2007-02-15 Thread A.J.Mechelynck
Bram Moolenaar wrote: Hi all, Google code has now added support for a wiki. This means open source projects can have a wiki that's free, fast and reliable (hopefully :-). http://code.google.com/hosting/ During my presentation last Tuesday the idea came up (again) to move the Vim tips

Re: Encoding problem

2007-02-15 Thread A.J.Mechelynck
A.J.Mechelynck wrote: David Woodfall wrote: SOLVED! Well I think I fixed by rtfm: :set termenc=cp1252 Seems to work, but I don't know yet whether it breaks anything else. 'termencoding' tells Vim (in both the Console and GUI versions) how your keyboard translates data and (in the Console

Re: Fwd: entering copied text into command mode?

2007-02-15 Thread A.J.Mechelynck
Theerasak Photha wrote: -- Forwarded message -- From: Theerasak Photha [EMAIL PROTECTED] Date: Feb 15, 2007 8:45 PM Subject: Re: entering copied text into command mode? To: A. J. Mechelynck [EMAIL PROTECTED] OOPS On 2/15/07, A.J.Mechelynck [EMAIL PROTECTED] wrote

Re: entering copied text into command mode?

2007-02-15 Thread A.J.Mechelynck
Gary Johnson wrote: On 2007-02-16, A.J.Mechelynck [EMAIL PROTECTED] wrote: Theerasak Photha wrote: On 2/15/07, Lev Lvovsky [EMAIL PROTECTED] wrote: I often find myself copy/pasting via my GUI text that I might have on the screen, and then pasting it into the command to be performed

Re: entering copied text into command mode?

2007-02-15 Thread A.J.Mechelynck
Theerasak Photha wrote: On 2/15/07, A.J.Mechelynck [EMAIL PROTECTED] wrote: [...] -- Confidence is the feeling you have before you understand the situation. LOL @ your sig. :-) Courtesy of the fortune program available on SuSE Linux. (One time in five I vary it with the fortunes from

Re: Vim + MzScheme on Ubuntu

2007-02-14 Thread A.J.Mechelynck
Alexei Alexandrov wrote: Hi Bram Moolenaar, you wrote: I think the best method is to obtain all the files from subversion and then get the latest runtime files with rsync. Get spell files manually (this can be done automatically if you use a language for the first time). I tried to use the

Re: how to read the file created in PC in Linux correctly?

2007-02-14 Thread A.J.Mechelynck
frank wang wrote: Hi, I have a lot of text files created in PC. When I open them in Linux using gvim, I get a lot of ^M and no line breaking. It is messy. How can I read the file correctly in Linux? Thanks Frank :set fileformats=dos,unix or :set fileformats=dos,unix,mac If

Re: help file: where I can get it?

2007-02-14 Thread A.J.Mechelynck
Dr. Uwe Schneider wrote: Hi! I have vim version 7.0 installed, but unfortunately no vim.hlp is delivered with the package. Where I can get vim.hlp? Any idea? I would appreciate to get a hint on where I can download the help file or to simply receive it per email attachment. Thanx in

Re: help file: where I can get it?

2007-02-14 Thread A.J.Mechelynck
Dr. Uwe Schneider wrote: Hi! Thanx a lot for your fast response! At my PC at home, :help works (that's why I can't tell you more about the missing help feature in the moment), but at my office PC (there I ran vim per X-Term under Unix, SunSolaris), there comes an error message, like no help

Re: help file: where I can get it?

2007-02-14 Thread A.J.Mechelynck
Dr. Uwe Schneider wrote: Dear Tony! Thanx for your detailed answer. :echo $VIMRUNTIME results in: /usr/local/share/vim/vim70 as expected. But, :verbose set helpfile? produces: helpfile=/usr/local/share/vim/vim70/vim.hlp [...] What does it print below that (Last set from...)? That vim.hlp

Re: newrw 107 and ':e .'

2007-02-13 Thread A.J.Mechelynck
Bernhard Walle wrote: * A.J.Mechelynck [EMAIL PROTECTED] [2007-02-13 01:40]: It's Vim compiled by myself, from no other sources than Bram's official ones (including 192 official patches). Yes, that fixes it, but I don't want to have the new version in /usr/ simply because I have not root

Re: Modelines: First Form

2007-02-13 Thread A.J.Mechelynck
Bill McCarthy wrote: Hello Vim Developers, The help files specifies (see :help modeline): - There are two forms of modelines. The first form: [text]{white}{vi:|vim:|ex:}[white]{options} [text] any

Re: :wq vs ZZ

2007-02-13 Thread A.J.Mechelynck
Vigil wrote: I wonder why some people use :wq instead of ZZ. Maybe they just don't know about ZZ? Obviously that's not the case with Bram. On Tue, 13 Feb 2007, Bram Moolenaar wrote: :wq Vim often has several ways to do the same thing. The best way is whichever suits you best: there is

Re: Security Center Advisory !

2007-02-13 Thread A.J.Mechelynck
Christian Ebert wrote: * A.J.Mechelynck on Tuesday, February 13, 2007 at 04:47:04 +0100: Dave Land wrote: Is there any way that the list managers can block these PayPal scam emails? Maybe they can, but that won't block the Internet Pharmacy scams which will arrive tomorrow from a different

Re: titles of tabs

2007-02-13 Thread A.J.Mechelynck
Simon Jackson wrote: how do you change the text in the file tabs up at the top? The 'tabline' option is similar to 'statusline', but for the tabs line. Here's what I use: - in the vimrc: if exists(+showtabline) function MyTabLine() let s = '' let t

Re: titles of tabs

2007-02-13 Thread A.J.Mechelynck
A.J.Mechelynck wrote: Simon Jackson wrote: how do you change the text in the file tabs up at the top? The 'tabline' option is similar to 'statusline', but for the tabs line. Here's what I use: [...] P.S. I also use :set go-=e to get a text-mode tab line even in gvim. Best regards, Tony

Re: newrw 107 and ':e .'

2007-02-12 Thread A.J.Mechelynck
Bernhard Walle wrote: * A.J.Mechelynck [EMAIL PROTECTED] [2007-02-12 02:47]: Bernhard Walle wrote: Hello, after I installed netrw 107 in my ~/.vim, I cannot browse a directory which :e /path/to/dir any more. That's annoying because also bookmarks don't work in the directory browser

Re: Security Center Advisory !

2007-02-12 Thread A.J.Mechelynck
Dave Land wrote: Folks, Is there any way that the list managers can block these PayPal scam emails? Thank you, Dave Maybe they can, but that won't block the Internet Pharmacy scams which will arrive tomorrow from a different posting IP address, nor the bogus eBay questions, BankAmerica

Re: auto-wrapping text

2007-02-12 Thread A.J.Mechelynck
Brian Anderson wrote: Tony, Thanks for the reply. I can reformat the current document with gggqG as you said, but when I start typing again, the text is not breaking. The files were adding line breaking automatically, but then I guess I changed something (I don't know what). Now it isn't

Re: searching for a string that has many '/' characters

2007-02-11 Thread A.J.Mechelynck
Yakov Lerner wrote: On 2/2/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I have a string that has lots of forward slashes. I need to search it and delete it (e.g. unix path name). I could use a backslash for everything forward slash and find it in vim. Is there a way I need not do that? For

Re: searching for a string that has many '/' characters

2007-02-11 Thread A.J.Mechelynck
David Rock wrote: * Yakov Lerner [EMAIL PROTECTED] [2007-02-11 05:04]: On 2/2/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I have a string that has lots of forward slashes. I need to search it and delete it (e.g. unix path name). I could use a backslash for everything forward slash and find

Re: newrw 107 and ':e .'

2007-02-11 Thread A.J.Mechelynck
Bernhard Walle wrote: Hello, after I installed netrw 107 in my ~/.vim, I cannot browse a directory which :e /path/to/dir any more. That's annoying because also bookmarks don't work in the directory browser and there are some other problems. Can somebody help? Thanks! Regards,

Re: re-map up and down key behaviour

2007-02-10 Thread A.J.Mechelynck
Eric Leenman wrote: Hi, Is it possible to remap the up and down key to behave a bit different. For example I have text like below : b123 : d456 : g789 And then I want everything after the : starting with xx_ When I then move the b, press i and type xx_ then it looks like

Re: auto-wrapping text

2007-02-09 Thread A.J.Mechelynck
Brian Anderson wrote: Hello, I have a simple question about text auto-wrapping. I've looked at the help files, but haven't been able to find the answer to my question. I have some files that have been auto-wrapping (inserting a line-break) when the text gets to the end of the line, then moving

Re: Pasting into gvim from word: ' turns into ¿

2007-02-09 Thread A.J.Mechelynck
Frodak wrote: --- Steve Hall wrote: From: ben lieb, Fri, February 09, 2007 12:54 pm Steve Hall wrote: From: ben lieb, Fri, February 09, 2007 11:58 am I often have to paste from Word for Windows into vim/gvim (cygwin). Some characters don't transfer properly. It could just be a font

Re: How to configure the VIM to avoid the hassle

2007-02-09 Thread A.J.Mechelynck
frank wang wrote: Thank you very much. It is my .vimrc problem. It is cause by the following mapping: map C-[ C-T I copied this mapping from internet, it will pop up the tab. Why it is causing the problem. I do not know. Frank 1. Bottom-posting is preferred in the Vim mailing lists. 2.

Re: Workspace concept ala TextPad

2007-02-08 Thread A.J.Mechelynck
Jürgen Krämer wrote: Hi, A.J.Mechelynck wrote: Eric Leenman wrote: I read on the script that I need to follow the 6 points mentioned. [...] What I did: Download the zip file: And stored workspace.txt is stored in C:\Program Files\Vim\vimfiles\doc

Re: gvim and Unicode

2007-02-08 Thread A.J.Mechelynck
Guido Milanese wrote: I have an additional question concerning this topic, that has been discussed several times. I am happily using (g)vim with files containing several languages, basically as editor for LaTeX, and it's all right with Unicode. I am working in Linux Mandriva 2007, with

Re: non-quoting version of f-args?

2007-02-08 Thread A.J.Mechelynck
Marc Weber wrote: Do I have missed a non quoting version of f-args ? Consider this example: function! T(...) for a in a:000 echom 'arg:'.string(a) endfor endfunction -- 8 -- 8 start test.vim -- 8 -- 8 -- 8 command! -nargs=* -buffer TestAddSeven

Re: 2html Doesn't Work with Scheme / Lisp Code and Line Numbers

2007-02-07 Thread A.J.Mechelynck
Theerasak Photha wrote: On 2/7/07, A.J.Mechelynck [EMAIL PROTECTED] wrote: Home-compiled 7.0.0. Theerasak (or is it Photha?) Well, it's a nym, so it doesn't really matter that much, but you would be correct in addressing me as Theerasak, disregarding any deferential terms. To simplify

Re: 2html Doesn't Work with Scheme / Lisp Code and Line Numbers

2007-02-07 Thread A.J.Mechelynck
A.J.Mechelynck wrote: Theerasak Photha wrote: On 2/7/07, A.J.Mechelynck [EMAIL PROTECTED] wrote: Home-compiled 7.0.0. Theerasak (or is it Photha?) Well, it's a nym, so it doesn't really matter that much, but you would be correct in addressing me as Theerasak, disregarding any deferential

Re: Vim + MzScheme on Ubuntu

2007-02-07 Thread A.J.Mechelynck
George V. Reilly wrote: Taylor Venable wrote: Well, after a lot of playing around (tracking down dependencies in Ubuntu) I finally got everything I needed and built Vim + all patches (resulting in 7.0.192 as of tonight) from source. Still no luck, though; it has exactly the same problems.

Re: Vim + MzScheme on Ubuntu

2007-02-07 Thread A.J.Mechelynck
George V. Reilly wrote: A.J.Mechelynck wrote: George V. Reilly wrote: Taylor Venable wrote: Well, after a lot of playing around (tracking down dependencies in Ubuntu) I finally got everything I needed and built Vim + all patches (resulting in 7.0.192 as of tonight) from source. Still

Re: 2html Doesn't Work with Scheme / Lisp Code and Line Numbers

2007-02-07 Thread A.J.Mechelynck
Taylor Venable wrote: Hello, This seems like a bug to me, but maybe I'm just doing something wrong. When I try to convert my Lisp or Scheme code into HTML or XHTML (both with and without CSS) using 2html.vim, I get an error and the only syntax highlighting in the HTML is the line numbering.

Re: Using (g)vim without installing it

2007-02-07 Thread A.J.Mechelynck
Eric Leenman wrote: Antoine, [...] I think you could install Vim in user space, for instance in My Documents\Vim\vim70 and below. Try downloading Steve Hall's self-installer from https://sourceforge.net/project/showfiles.php?group_id=43866package_id=39721 and telling it to install into a

Re: setting font and color scheme in gvim (cygwin)

2007-02-07 Thread A.J.Mechelynck
ben lieb wrote: I've started using gvim through cygwin on windows and I'm having to set the color scheme and font every time I open it. Is there a way to set this in an rc file or somewhere? I put the following in my .vimrc file, but it seems to have had no effect on the default setting. set

Re: Workspace concept ala TextPad

2007-02-07 Thread A.J.Mechelynck
Eric Leenman wrote: Hi Yegappan, From: Yegappan Lakshmanan [EMAIL PROTECTED] To: Eric Leenman [EMAIL PROTECTED] [...] You can try using the workspace manager plugin: http://vim.sourceforge.net/scripts/script.php?script_id=1410 - Yegappan I'm a simple VIM user. That's why I ask many things

Re: :copen annoying trouble

2007-02-06 Thread A.J.Mechelynck
Ilia N Ternovich wrote: Hi! When I work with many buffers inside vim and suddenly need to :copen :make project, vim opens buffer in which warning or error is detected. This is very annoying, since I have to switch from pouped-up buffer where error or warning is detected to last working one.

Re: How to maximize my vim window when I start it?

2007-02-06 Thread A.J.Mechelynck
John Doe wrote: I don't know if I am in error, but ':set lines=999 columns=999' from .vimrc does not work for me under KDE 3.5. It works in ex mode, after everything is loaded, but not from the .vimrc file (and yes I am using gvim). There are also some notable strange effects: au GUIEnter * set

<    1   2   3   4   5   6   7   8   9   10   >