I'm up and running again (sort of)

2006-05-11 Thread A.J.Mechelynck
Hi Vimmers, Sorry for having been away so long. My Windows (laptop) computer was broken down (and still is -- but I've sent it in for repairs). I have a Linux (desktop) computer but it's only today that I've succeeded to configure its Internet connection. So: - I'm online again; but it may

Re: standard distribution of win32 consolve vim

2006-05-14 Thread A.J.Mechelynck
Hari Krishna Dara wrote: On Thu, 11 May 2006 at 9:03am, Bram Moolenaar wrote: Hari Krishna Dara wrote: I observed that the vim7 distribution of console vim for win32 is not compiled with perl and python bindings. This I think is unlike the previous releases when both gvim and vim had

Re: I'm up and running again (sort of)

2006-05-14 Thread A.J.Mechelynck
Mark Woodward wrote: Hi Tony, On Thu, 11 May 2006 18:35:31 +0200 A.J.Mechelynck [EMAIL PROTECTED] wrote: [...] - It may take some (unspecified) time before I'm satisfied that I can compile Vim for i86 Linux. Piece of cake! I've done it.. oooh 3 or 4 times now ;-) What distro are you

Re: issues..compilation,

2006-05-15 Thread A.J.Mechelynck
jagpreet wrote: Hi There, I have recently installed vim 7.0 and also could never get a chance earlier to use the compiler options in vim. I went through the document and set all the values but also could not compile the c/c++ file in vim window. Is there a clear document exists which

Re: issues..compilation,

2006-05-15 Thread A.J.Mechelynck
jagpreet wrote: Thanks Tony/Benji, Well I could not get the number to identify the script if at all any given. But on the script page it is mentioned as bufexplorer.zip : Easily switch between buffers without knowing their numbers Author : jeff lanzarotta Also, about installing vim

Re: How to auto-set font and size?

2006-05-15 Thread A.J.Mechelynck
Gerald Lai wrote: On Mon, 15 May 2006, Donal wrote: Now that my primary issue of getting Windows Explorer to use gvim to open .prg files has been fixed, I have 2 further issues. I will seperate them so they do not get confused... My eyes are not what they once were, and I use a high-res

Re: Swapping keys

2006-05-15 Thread A.J.Mechelynck
Gerald Lai wrote: On Mon, 15 May 2006, Robert MannI wrote: [snip] Now my question, this is the current way I'm doing this: - Remap for DVORAK noremap t j noremap j t noremap n k noremap k n noremap s l noremap l s noremap T J noremap J T noremap N K noremap K N noremap

Re: Key Mapping for spellcheck.

2006-05-16 Thread A.J.Mechelynck
Baha-Eddine MOKADEM wrote: Hi, I would like to map the right-clic-key (to make myself clear it's the one between Win flag and Ctrl key) so I can have the suggestion when I'm spellchecking a file. How is it named under vim ? Thank you for your help Eddine. Not sure Vim sees that key. In

Re: Text - commandline

2006-05-16 Thread A.J.Mechelynck
Meino Christian Cramer wrote: Hi, for what keyword I have to look in the online-help to find a hint how to copy any text from a buffer as any part of a command currently being edited in the commandline ? kind regards, mcc If by buffer you mean what the Vim docs call a register, see

Re: echon space ?

2006-05-16 Thread A.J.Mechelynck
Eric Arnold wrote: On 5/16/06, Gerald Lai [EMAIL PROTECTED] wrote: On Tue, 16 May 2006, Eric Arnold wrote: Does anybody understand why trailing spaces in an echon string don't actually show up? echon \ngimme let inp = getchar() echon nr2char(inp) I think echo/echon is doing fine. It's

Re: gvim when x server is shut down

2006-05-17 Thread A.J.Mechelynck
Dennis Nezic wrote: On Tue, 16 May 2006 22:28:54 -0700 (PDT), Gerald Lai [EMAIL PROTECTED] wrote: On Wed, 17 May 2006, Dennis Nezic wrote: when i exit my wm (e16), since it doesn't (and shouldn't) close any other programs, gvim is stuck without an x server, and doesn't handle this loss

Re: avoid :source error with 7.0 script in 6.x

2006-05-17 Thread A.J.Mechelynck
Steve Hall wrote: Is there a way to construct the code below to avoid the E193 :endfunction not inside a function error in Vim 6.4 when loading a Vim 7.0 script? This for-endfor construct produces the error: function! MyFunct() if v:version 700 return endif ...

Re: Saving over FTP with vim 7

2006-05-17 Thread A.J.Mechelynck
Noah Sturr wrote: I'm having an issue saving a file open for edit using the ftp://host mechanism. The steps are: open gvim.exe from the Windows command line open a file with :e ftp://hostname/path/file; proviide the username/password successfully after loading the file and saving write with :w

Re: Tables.

2006-05-17 Thread A.J.Mechelynck
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 problems with other applications that do are

Re: right-to-left text selection

2006-05-17 Thread A.J.Mechelynck
Jared wrote: On 5/17/2006 12:52 AM, Gerald Lai wrote: So, my question: is it somehow possible to be able to select the last character of a line when selecting from right-to-left while using selection=exclusive? The simplest work around is to hit ol (that's oh-el) to select that last

Re: using variables in ! command

2006-05-17 Thread A.J.Mechelynck
Jared wrote: This should be really easy, but I can't find an example in the help that shows what I'm trying to do. I'm mapping an external command to a function key, but I can't figure out how to include a variable in the command. Specifically, I want to specify the %programfiles% directory.

Re: ctrl+shift key mappings

2006-05-17 Thread A.J.Mechelynck
Jared wrote: Ok, this will be my last question for the night (promise!). I'd like to map separate commands to Ctrl-C and Ctrl-Shift-C. I've tried a couple different ways to do it, but this one seems like it should be most correct: vnoremap C-c +y vnoremap C-S-c ^Gol+y What's happening,

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: 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: Split not visible in putty

2006-05-19 Thread A.J.Mechelynck
Benji Fisher wrote: On Fri, May 19, 2006 at 12:38:26PM +0600, Sanjaya wrote: In addition... rpm -qa | grep vi gives system-config-services-0.8.15-1 gtksourceview-1.1.0-4 device-mapper-1.00.19-2 vim-minimal-6.3.035-3 [...] As Gerald Lai already said, the problem is that you

Re: HTML editing with vim: where to start ?

2006-05-19 Thread A.J.Mechelynck
Mikolaj Machowski wrote: my guess is :source $VIMRUNTIME/mswin.vim -- the script that cripples Vim in a not-very-successful attempt to make it more Windows-like. WTF, if you want a Windows-like editor, don't use Vim, use Notepad! IMHO mswin.vim is better done without. Hey, it is not

Re: Extending Vim7 with plugins

2006-05-19 Thread A.J.Mechelynck
Robert Hicks wrote: Is there some tutorial out there for a newbie starting with Vim7 to learn how to program for it? Robert There is a vim tutor which comes with the Vim distribution. It's been so long since I used it that I don't remember what is and isn't included. Basically, each line

Re: HTML editing with vim: where to start ?

2006-05-19 Thread A.J.Mechelynck
Vinay Doma wrote: A.J.Mechelynck wrote: Maybe I overreacted. OK, let's amend it: if you want a Windows-like editor, don't use Vim, use WordPad (in plaintext mode). I still won't recommend mswin.vim to anybody. But what about mswin.vim don't you like? All it has is a bunch of windows friendly

Re: Extending Vim7 with plugins

2006-05-19 Thread A.J.Mechelynck
Meino Christian Cramer wrote: From: Mikolaj Machowski [EMAIL PROTECTED] Subject: Re: Extending Vim7 with plugins Date: Fri, 19 May 2006 20:44:41 +0200 Dnia piątek, 19 maja 2006 19:07, Meino Christian Cramer napisał: IMHO the help files are only for those, who are know already, what

Re: Extending Vim7 with plugins

2006-05-19 Thread A.J.Mechelynck
Meino Christian Cramer wrote: From: Suresh Govindachar [EMAIL PROTECTED] Subject: RE: Extending Vim7 with plugins Date: Fri, 19 May 2006 12:44:12 -0700 I am only wishing not to be urged to study electrotechnics before I will be able to change a light bulb. Nothing more, nothing less. mcc

Re: Extending Vim7 with plugins

2006-05-19 Thread A.J.Mechelynck
Yakov Lerner wrote: On 5/19/06, Meino Christian Cramer [EMAIL PROTECTED] wrote: I am only wishing not to be urged to study electrotechnics before I will be able to change a light bulb. On the glass-full side, it looks like you learned already to operate the light switch. That's good.

Re: Extending Vim7 with plugins

2006-05-19 Thread A.J.Mechelynck
Steve Hall wrote: From: Mikolaj Machowski [EMAIL PROTECTED], May 19, 2006 2:44 PM Dnia pi?tek, 19 maja 2006 19:07, Meino Christian Cramer napisa?: IMHO the help files are only for those, who are know already, what they are searching for. A newbie gets hopelessly lost. Not

Re: How to insert increasing numbers in each line of a file

2006-05-20 Thread A.J.Mechelynck
Matthias Pitzl wrote: Hello all! I don't really know how to do this but im sure that there's a solution. I have some file and i need to insert a number before each line and a separator. The number is the line number. Is there any way in vim to do this easily? Thank's for your help! Greetings,

[Fwd: Re: is there any method to input chinese under cygwin console window?]

2006-05-20 Thread A.J.Mechelynck
unless I press RETURN in IM state to start a new line (this will cause strange up scroll). set enc=prc Yours, Jin Huang - Original Message - From: A.J.Mechelynck [EMAIL PROTECTED] To: hj [EMAIL PROTECTED] Cc: vim@vim.org Sent: Thursday, May 18, 2006 2:14 PM Subject: Re: is there any

Re: html auto completion

2006-05-21 Thread A.J.Mechelynck
Vu The Cuong wrote: Thanks for the reply. My system is WInXP. :so $VIMRUNTIME/mswin.vim You mean I must put above line into my vimrc file? We mean you must make sure it _isn't_ there, because it interferes with the Ctrl-X which is the first key for all omni-completion commands --

Re: html auto completion

2006-05-22 Thread A.J.Mechelynck
Vu The Cuong wrote: Dear Mechelynck My vimrc file is as below: set nocompatible source $VIMRUNTIME/vimrc_example.vim source $VIMRUNTIME/mswin.vim behave mswin Based on your advice, I will remove source $VIMRUNTIME/mswin.vim. Is it right? But there is a line behave mswin. Do I must remove

Re: How do I make html autocompletion work?

2006-05-22 Thread A.J.Mechelynck
victor NOAGBODJI wrote: Hi, There is a current post about the subject. But the OP doesn't tell how to activate this feature. The autocompletion I need is either for tags, or for attributes... I'm under linux. thanks As said recently in answers to the thread you mention, you need: -

Re: Printing on paper

2006-05-23 Thread A.J.Mechelynck
Robert Cussons wrote: ...snip Alternately, you can /set/ different highlighting colors by using a color scheme (see :help :colorscheme). Make sure that you use a color scheme with a bright background and dark text. Or else, view the file in the GUI, which uses black text on white background

Re: How to get cygwin command line to know where it is

2006-05-23 Thread A.J.Mechelynck
Furash Gary wrote: I'm using VIM on windows with cygwin. In my _vimrc I've got the following automatically swithc directories set autochdir For cygwin shell set shell=C:/cygwin/bin/bash set shellcmdflag=--login\ -c set shellxquote=\ When I try to use cygwin stuff with

Re: How to get cygwin command line to know where it is

2006-05-23 Thread A.J.Mechelynck
Gerald Lai wrote: On Wed, 24 May 2006, A.J.Mechelynck wrote: Eric Arnold wrote: Off hand, I can't remember the exact name, but I think that there is a special rc filename that is executed even when it isn't a login shell. [...] Yes, I think so too, and I don't remember it offhand either

Re: vim7: broken bar separator after user commands

2006-05-24 Thread A.J.Mechelynck
Hari Krishna Dara wrote: On Wed, 24 May 2006 at 2:37pm, Yegappan Lakshmanan wrote: Hi Hari, On 5/24/06, Hari Krishna Dara [EMAIL PROTECTED] wrote: This was working fine in Vim6.3, but in Vim7 I get E488. Here is how to reproduce: :command! TT :echo TT :TT | TT You get: E488:

Re: Remembering 'Fold State' across buffers

2006-05-26 Thread A.J.Mechelynck
Mark Woodward wrote: Hi all, The problem I'm having is I'll open all folds in a buffer, switch buffers, go back to the original and all folds are closed again. Is there a way to stop this? ie Vim remembers the 'fold state' of the buffer when I return to it? So if folds were open when I left

Re: html syntax highlighting disable spell check?

2006-05-26 Thread A.J.Mechelynck
Jiang Qian wrote: Hi All: I apologize for breaking the thread. I just share dc's problem about syntax highlighting in html and build-in spellchecker: when I edit a html file spell checking doesn't work, but as soon as I do syntax off the spell check works again! Any idea how to remedy it? I

Re: spell check for multiple languages?

2006-05-26 Thread A.J.Mechelynck
Jiang Qian wrote: Hi all: I love the new spell check features. I usually write in English, which is why I set my spellchecker to en-us. However I sometimes write in Chinese, which AFAIK has no vim spell checker. So every time I write something it will underline it. Of course I can manually

Re: spell check for multiple languages?

2006-05-26 Thread A.J.Mechelynck
Oops. I inadvertently added a real signature delimiter. I meant: Jiang Qian wrote: Hi all: I love the new spell check features. I usually write in English, which is why I set my spellchecker to en-us. However I sometimes write in Chinese, which AFAIK has no vim spell checker. So every time I

Re: Jumping to Headline in h1Headline/h1

2006-05-26 Thread A.J.Mechelynck
Gerald Lai wrote: [...] Then again, some might argue that Vim is about thinking before making a calculated move.. -- Gerald IMHO, Vim is about both editing files any way you might think of (and possibly thinking before you do it), and having (or possibly letting you make) simple keystrokes

Re: --remote-expr stdout?

2006-05-26 Thread A.J.Mechelynck
Eric Arnold wrote: Does anybody know how to get gvim to really print the expression result from --remote-expr to stdout, as it says in the docs. I always get an error popup with the results (although the expression wasn't a failure, the error popup just seems to be the default). Use vim (the

Re: 7.0 and cyrillic

2006-05-27 Thread A.J.Mechelynck
Boyko Bantchev wrote: Hello all, In Vim 7.0, I seem to be running into a problem when using cyrillic -- the cp1251 encoding, to be precise. I notice two things not properly working for me (note that none of them was a problem in the previous versions of Vim): 1) The ~ (tilde) command for

Re: regexp question

2006-05-27 Thread A.J.Mechelynck
Ling F. Zhang wrote: I have this question working in vi, but I suppose it's generally enought for all regexp. How do I match across line? I would like to find the end to a sentence by looking for \.$^[A-Z], but it doesn't work. What is the correct way of match across two different lines. In the

Re: Can not run any command with ! in W2K

2006-05-27 Thread A.J.Mechelynck
Suresh Govindachar wrote: Juan Lanus wrote: On 5/27/06, Suresh Govindachar wrote: Start gvim using the command p:\ath\to\gvim.exe -u NONE -U NONE --noplugin In the resulting gvim, do :set shellcmdflag=3D/k Then :!ver The name of the window is

Re: Vim takes up to 7 seconds to run

2006-05-28 Thread A.J.Mechelynck
Andrea Spadaccini wrote: Ciao Eric, This is often due to trying and failing to connect to the X server. Try the -X startup option. It seems faster, but it's strange! I'll alias vim to vim -X, and I'll see if in the next days it'll work. Thanks!! Note that starting vim with the

Re: insert lines

2006-05-29 Thread A.J.Mechelynck
Robert Cussons wrote: Sorry ignore this post, don't know what happened when I tried it before, but of course this is already implemented, with '-', vim is ahead of me again..don't I feel a fool! Robert Cussons wrote: Hello all, I know that '+' can be used to insert a line below the line

Re: Switching character sets Windows-to-DOS

2006-05-29 Thread A.J.Mechelynck
peter juuls wrote: --- A.J.Mechelynck [EMAIL PROTECTED] escribió: If you have some files using a Dos charset, and other ones using a Windows charset, the way to do it is file-by-file. Here are a few sections you should read in the help: Thanks, Tony, for a thorough walkthrough

Re: gvimrc vs vimrc

2006-05-29 Thread A.J.Mechelynck
Robert Hicks wrote: I have never used a gvimrc. Does that get parsed by gVim only? :Robert Yes indeed. It is guaranteed to be sourced when gvim starts and not when console Vim starts; and in gvim it is sourced later than the vimrc in startup. Me I don't use a gvimrc either: rather than

Re: gvimrc vs vimrc

2006-05-29 Thread A.J.Mechelynck
Robert Hicks wrote: A.J.Mechelynck wrote: Robert Hicks wrote: I have never used a gvimrc. Does that get parsed by gVim only? :Robert Yes indeed. It is guaranteed to be sourced when gvim starts and not when console Vim starts; and in gvim it is sourced later than the vimrc in startup. Me

Re: [EMAIL PROTECTED]

2006-05-30 Thread A.J.Mechelynck
Кулаков Анатолий wrote: If you want to unsubscribe, vim-unsubscribe should go in the To line, not the Subject line. Best regards, Tony. Если вы желаете изподписаться, вам следует писать vim-unsubscribe на строку ‘Для‚, не на строку ‘При‚. Всего хорошего, Тоня.

Re: Deleting lines from L1 to L2 in Vim script

2006-05-30 Thread A.J.Mechelynck
Tim Chase wrote: And how about deleting from line L1 for instance to the end of the file. And put it in a script file, since G don't appear like a regexp and $ represent end of line if I'm not wrong ? $ represents the end-of-line in *normal* mode. As an Ex command, it means the last line in

Re: Setting up fonts for use with vim compiled with GTK-2

2006-05-30 Thread A.J.Mechelynck
Mun Johl wrote: Hi, I've installed all the pieces (I think) to get GTK-2 running on my Sun Solaris 8 box. After doing so, I re-compiled vim7 and it seems to be running fine except that vim doesn't know about the fonts that I use most often. Specifically, the -misc-* and -adobe-* fonts. I

Re: How to make CTRLmappings working under Linux

2006-05-31 Thread A.J.Mechelynck
Eric Leenman wrote: Hi, On my Windows XP machine I have two mappings like below, and they work. noremap C-Left b inoremap c-\c-n C-left noremap C-Right w inoremap c-\c-n C-Right Why doesn't these work on my Linux machine? Is CTRL handled different under Linux then under Windows?

Re: Vim and the numeric keypad mapping

2006-05-31 Thread A.J.Mechelynck
A.J.Mechelynck wrote: Amanda Esparza wrote: Hello, I am a new user to VIM, I have been a UNIX VI user for 5-6 years. My question is: How do I get VIM to recognize and use my numeric key pad? I found some documentation in the FAQ, however I am not sure that the numeric keypad keys

Re: Problem with OmniCompletion

2006-05-31 Thread A.J.Mechelynck
Bos, Eric (Contractor) wrote: I just tried omnicompletion for the first time (vim70 on winXP). In a C++ file, I entered mC, and it started looking fo r things starting with capital M, i.e. MC. This is a problem in itself since C++ is case sensitivie. Mor annoyingly, I hit delete to go back to

Re: put (paste) from windows clipboard into vim

2006-05-31 Thread A.J.Mechelynck
Evan H. Carmi wrote: hey all, i am wondering how to copy through windows and than paste into vim with a keyboard command. for example: i am running FF and i copy some text, when i go into vim I don't know how to put (paste) that text without right clicking and selecting paste. the :p command

Re: gvimrc vs vimrc

2006-06-01 Thread A.J.Mechelynck
Xiangjiang Ma wrote: Tony, You are right. Now, one vimrc works on Windows and unix with mixture of version 6, version 7. Based on your suggestion, I have replaced for loop with while loop, and it worked! PS: script for sug in s:suglist exe 'amenu 1.5.'.pri.'

Re: Change syntax color

2006-06-02 Thread A.J.Mechelynck
[EMAIL PROTECTED] wrote: Hi all, How can I change the color for the comments on a particular language syntax highlight? Regards, xfedex. I recommend to do it by writing your own colourscheme based (if you don't have a colourscheme yet) on the default colorscheme

Re: How to comment a line in vim?

2006-06-02 Thread A.J.Mechelynck
Eric Luo wrote: I want to comment a new line or comment an existing line at the end of the current line. In Emacs, I have M-; to do the job. Could anyone tell me that weather the similar functionality existed? A line starting with (zero or more whitespace and) a double quote is, in a Vim

Re: problem using omni completion

2006-06-02 Thread A.J.Mechelynck
Lonely Rolling Star wrote: I found a previously supplied answer (see below). I think some mention of filetype plugin on should really be included in the help for omni completion. E764: Option 'omnifunc' is not set. You have to put filetype plugin

Re: laststatus=2 anomaly

2006-06-02 Thread A.J.Mechelynck
Russell Bateman wrote: Eszett; takes the place of ss and sz in German. Karl Guertin wrote: On 6/2/06, Mun Johl [EMAIL PROTECTED] wrote: abbcdeffgghijjkklmmnopqqrßtuvvww×yzz ^ | this is the greek Beta character (in case

Re: problem (expanded): undo/redo messages often immediately hidden

2006-06-02 Thread A.J.Mechelynck
Maciej Kalisiak wrote: I've created a seperate thread for this issue, even though I discussed it briefly earlier, as I've done some testing and it seems this may be a Vim bug. NOTES - using Vim 7.0, downloaded and installed about 2 days ago - running under WinXP SP2 STEPS TO REPRODUCE - fire

Re: problem (expanded): undo/redo messages often immediately hidden

2006-06-02 Thread A.J.Mechelynck
Maciej Kalisiak wrote: On 02/06/06, A.J.Mechelynck [EMAIL PROTECTED] wrote: If successive messages flit by too fast, they can in some cases erase one another. As long as they appear in :messages it shouldn't really be a problem. I get the same behaviour as you mention later in your email

Re: problem (expanded): undo/redo messages often immediately hidden

2006-06-02 Thread A.J.Mechelynck
Eric Arnold wrote: Have you tried resizing your command line: :set cmdheight=10 I have, and I still see the problem. Have you tried reproducing it? I could, with no problem. Best regards, Tony.

Re: laststatus=2 anomaly

2006-06-02 Thread A.J.Mechelynck
Mun Johl wrote: Hi Eric, Please see my comments below. On Fri, Jun 02, 2006 at 03:22 PM PDT, Eric Arnold wrote: EA Ok. So we know three things: EA EA The incremental search feature EA + the gvim/gui input method EA + the statusline EA EA It would be interesting to try: EA EA :feedkeys(

Re: How to use map to exchange g and G keys?

2006-06-02 Thread A.J.Mechelynck
Gerald Lai wrote: On Fri, 2 Jun 2006, Steven Starr wrote: On Fri, 2 Jun 2006, Steven Starr wrote: I have been using vim since version 4, and never had this problem before. I have always (in VI before vim and thereafter) used the following to exchange the use of the g and G keys in my

Re: problem (expanded): undo/redo messages often immediately hidden

2006-06-02 Thread A.J.Mechelynck
Eric Arnold wrote: On 6/2/06, A.J.Mechelynck [EMAIL PROTECTED] wrote: Eric Arnold wrote: Have you tried resizing your command line: :set cmdheight=10 I have, and I still see the problem. Have you tried reproducing it? I could, with no problem. Yes, I see it now. It only seems to happen

Re: How to use map to exchange g and G keys?

2006-06-02 Thread A.J.Mechelynck
A.J.Mechelynck wrote: Gerald Lai wrote: On Fri, 2 Jun 2006, Steven Starr wrote: On Fri, 2 Jun 2006, Steven Starr wrote: I have been using vim since version 4, and never had this problem before. I have always (in VI before vim and thereafter) used the following to exchange the use of the g

Re: MatchParen unreadable on dark backgrounds

2006-06-02 Thread A.J.Mechelynck
Yakov Lerner wrote: On 6/2/06, Georg Dahn [EMAIL PROTECTED] wrote: I use dark backgrounds (and therefore a light coloured foreground colour). As a consequence the new MatchParen highlight that is enabled by default in vim 7 is unreadable/annoying. I need to put the following in my ~/.vimrc

Re: quick math computations

2006-06-03 Thread A.J.Mechelynck
stri ker wrote: I frequently need to do some basic calculations. I have used the following within Vim for Integer calculations: :echo (4+7)*3-14 19 My question is this: Is there a way to do calculations with doubles instead of integers without piping to an external program like bc and then

Re: How to use map to exchange g and G keys?

2006-06-04 Thread A.J.Mechelynck
Georg Dahn wrote: Hi! IOW, the problem seems to be caused by a gx mapping somewhere in the netrw plugin set. You might try downloading the latest version, probably from Dr. Charles Chip Campbell's site (astronaut or somesuch). I have done this now and installed it as described in the

Re: Alt key mapping trouble under windows XP

2006-06-04 Thread A.J.Mechelynck
Eyal Raab wrote: Hi, I'm using VIM 7.0 under windows XP. I'm trying to define some alt key bindings and I can't seem to succeed. The trouble I'm having is that as soon as I press the ALT key, it jumps to the menu, even if I have: set winaltkeys=menu or set winaltkeys=no I've looked

Re: Fwd: grep used from gvim

2006-06-04 Thread A.J.Mechelynck
Alexandru Iancu wrote: Hi, I noticed that grep behaves differently in vim and gvim (both ran in Linux). While using grep from vim I'm able to move between the results with :cn/cp used from gvim the command gets replaced by something like: !grep -n 'my_string_and_options_here' /dev/null ... |

Re: :ha printouts - fontsize

2006-06-04 Thread A.J.Mechelynck
cga2000 wrote: I occasionally need a quick printout of what I am currently editing and use the :ha command. I was wondering whether there was any way I could switch to a different printer font or choose a smaller font size. I doubt this is relevant but just in case I'll mention that I use vim

Re: display tweaks - tilde lines, statusline..

2006-06-04 Thread A.J.Mechelynck
cga2000 wrote: Is there any way the tilde lines that represent empty lines at the end of the buffer can be changed to something else or removed altogether? You may change their colour. If you set bg and fg to the same value, they will become invisible. For instance: :hi NonText cterm=NONE

Re: :ha printouts - fontsize

2006-06-04 Thread A.J.Mechelynck
cga2000 wrote: On Sun, Jun 04, 2006 at 02:57:56PM EDT, A.J.Mechelynck wrote: cga2000 wrote: I occasionally need a quick printout of what I am currently editing and use the :ha command. I was wondering whether there was any way I could switch to a different printer font or choose

Re: display tweaks - tilde lines, statusline..

2006-06-05 Thread A.J.Mechelynck
cga2000 wrote: On Sun, Jun 04, 2006 at 08:50:18PM EDT, A.J.Mechelynck wrote: cga2000 wrote: On Sun, Jun 04, 2006 at 03:11:10PM EDT, A.J.Mechelynck wrote: [...] Note that the same highlight group also governs the @ or @@@ for a partial line at the end of a window

Re: How can I map with the arrow keys?

2006-06-05 Thread A.J.Mechelynck
Jeremy Conlin wrote: I am trying to make a mapping to more easily switch tabs. I wanted to use CTRL-RightArrow to move to the next tab and CTRL-LeftArrow to move to the previous tab. However, I can't find in the help files how to map the arrow keys. Can someone help me? Thanks, Jeremy see

Re: MatchParen unreadable on dark backgrounds

2006-06-06 Thread A.J.Mechelynck
Pádraig Brady wrote: Georg Dahn wrote: I use dark backgrounds (and therefore a light coloured foreground colour). As a consequence the new MatchParen highlight that is enabled by default in vim 7 is unreadable/annoying. I need to put the following in my ~/.vimrc to fix it: highlight

Re: :ha printouts - fontsize

2006-06-07 Thread A.J.Mechelynck
cga2000 wrote: On Mon, Jun 05, 2006 at 03:11:08AM EDT, A.J.Mechelynck wrote: cga2000 wrote: [..] Well, here I am a comparatively new user of SuSE Linux, and I found it remarkably easy to compile Vim 7 on it. If you decide you want to try your hand at it, I

Re: Vim 7 Problems

2006-06-07 Thread A.J.Mechelynck
Ankur Jain wrote: Hi, I installed vim 7.0 on windows. But, I am facing 2 weird problems, please help: 1. Vim is creating backup files even when I've switched it off. I've specified set nobackup set nowritebackup in my _vimrc. Still, it creates a backup file everytime

Re: Restore cursor to last line not working in Vim 7

2006-06-07 Thread A.J.Mechelynck
Kevin Old wrote: On 6/7/06, Tim Chase [EMAIL PROTECTED] wrote: This would be where I'd start...comparing your old 'viminfo' setting with your new one. Thanks Tim. I've never edited settings for viminfo, but I've attached my viminfo's for both 6.3 and 7. There are File marks in the viminfo 7

Re: what is wrong with this autoload var usage?

2006-06-07 Thread A.J.Mechelynck
Hari Krishna Dara wrote: On Wed, 7 Jun 2006 at 8:10am, Jürgen Krämer wrote: Hi, Hari Krishna Dara wrote: I am trying to use the new vim7 object-based features and am stuck with an issue in using autoload style variables. Save the below as t.vim in your autoload directory and execute

Re: display tweaks - tilde lines, statusline..

2006-06-07 Thread A.J.Mechelynck
cga2000 wrote: [...] .. isn't there a way one could add the customization - once it's duly tested - to a system-wide tree so other users of the system could benefit by it? Some sort of $VIMRUNTIME/local so-to-speak..? Yes, there is. It is called $VIM/vimfiles/. Check your 'runtimepath'

Re: Vim 7 Problems

2006-06-08 Thread A.J.Mechelynck
. For the omni-completion, I inserted the commands: filetype plugin on filetype plugin indent on and then with the help of filetype-plugins, I could see the drop down box for completion. Thanks for the great help. Happy Vimming :) Regards Ankur Jain On 6/7/06, A.J.Mechelynck [EMAIL PROTECTED

Re: Vim doesn't open files with chinese file names

2006-06-09 Thread A.J.Mechelynck
Cesar Romani wrote: If I have a file with a chinese file name, f.e. 感情包袱.txt It won’t open but it throws the message: E303: Unable to open swap file for “.txt”, recovery impossible Instead with notepad I can open the file. Many thanks in advance, Andalou Is your Vim version compiled

Re: Simple move/rename command with cursor placement, howto?

2006-06-10 Thread A.J.Mechelynck
Marc Weber wrote: Yakov How would you implement bash Ctrl-k behaviour ? Delete from cursor till the end of line? noremap : q:i ? ;-) Marc In Normal mode, D (shift-d) deletes from cursor to end-of-line (with a count: on count lines including the current one). See :help D HTH,

Re: colseb_a.vim script, closign tags for vim /java.?

2006-06-11 Thread A.J.Mechelynck
Marc Weber wrote: I want the script to automatically close function with endfunction while with endwhile for with endfor [...] Looks like you have ideas for omni-completion on Vim files. You may want to define 'omnifunc' in a script of one of the following names: user-private on

Re: Positioning on a given char offset

2006-06-12 Thread A.J.Mechelynck
Fabio Rotondo wrote: Hi, I have this problem: a program of mine is giving me error positions based on the file offset and not the line containing the error. Eg. it does not warn me about an error on line 12, but at the char 2032 Is there any command in Vim to position to that char offset?

Re: non-latin characters aren't displayed correctly in Windows menu

2006-06-12 Thread A.J.Mechelynck
Mojca Miklavec wrote: On 6/12/06, A.J.Mechelynck wrote: Mojca Miklavec wrote: Hello, I translated the menus for gvim and wanted to use them under windows, but the non-latin characters simply don't show in the menu (other characters are shown instead: squares š and ž and some other

Re: Error detected while processing function SNR1_BMShow

2006-06-13 Thread A.J.Mechelynck
Cesar Romani wrote: I use vim 7.0 on Windows XP compiled with MS Visual C. If I do: gvim -u NONE -U NONE -c set verbosefile=C:/vim.log I get: -- Error detected while processing function SNR1_BMShow: line 12: E329: No menu Buffer Error

Re: ***SPAM*** Error detected while processing function SNR1_BMShow

2006-06-13 Thread A.J.Mechelynck
Mathias Michaelis wrote: Hello Andalou I use vim 7.0 on Windows XP compiled with MS Visual C. If I do: gvim -u NONE -U NONE -c set verbosefile=C:/vim.log I get: -- Error detected while processing function SNR1_BMShow: line 12: E329: No

Re: non-latin characters aren't displayed correctly in Windows menu

2006-06-13 Thread A.J.Mechelynck
Mojca Miklavec wrote: On 6/13/06, A.J.Mechelynck wrote: Mojca Miklavec wrote: On 6/12/06, A.J.Mechelynck wrote: You must make sure that you have: - an 'encoding' which includes the non-Latin characters you want to use - (in console Vim) a terminal code page which includes them What

Re: FTDetect

2006-06-13 Thread A.J.Mechelynck
Max Dyckhoff wrote: Thank you for your answers. See :help ftdetect. The augroup statements are also not necessary. The variable did_load_filetypes is set to 1 by $VIMRUNTIME/filetype.vim (at line 10 in the version for Vim 7.0, lat change May 02). Your script is sourced from line 2166 of the

Re: non-latin characters aren't displayed correctly in Windows menu

2006-06-13 Thread A.J.Mechelynck
Mojca Miklavec wrote: On 6/13/06, A.J.Mechelynck wrote: Mojca Miklavec wrote: Courier_New has a larger variety of glyphs than most other fixed-width encodings. If Lucida_Console hasn't got the glyphs you need, I recommend Courier_New. No, Lucide_Console is OK (and Courier_New as well

Re: Error detected while processing function SNR1_BMShow

2006-06-13 Thread A.J.Mechelynck
Mathias Michaelis wrote: Tony, Andalou If I do: gvim -u NONE -U NONE -c set verbosefile=C:/vim.log I get: [...] E329: No menu Buffer [...] I can confirm that behaviour of gvim, but I think it is a feature, not a bug. [...] However, under :help -u it is said that -u

Re: non-latin characters aren't displayed correctly in Windows menu

2006-06-13 Thread A.J.Mechelynck
Mojca Miklavec wrote: On 6/14/06, A.J.Mechelynck wrote: In $VIMRUNTIME/vimrc_example.vim for Vim 7.0, last change 2002 Sep 19, at line 56 filetype plugin indent on ... Thanks for all the hints. Using the extensive explanation and after playing with all possible combinations: the most

Re: How to use customized function in statusline?

2006-06-14 Thread A.J.Mechelynck
Edward L. Fox wrote: Hi VIMmers, According to the user manual :h statusline, we should be able to evaluate a customized function to generate the statusline text: 8 When the option starts with %! then it is used as an expression, evaluated and the

  1   2   3   4   5   6   7   8   9   10   >