Re: 'fileencodings': Why use ucs-2le for cp936 file?

2007-06-06 Thread A.J.Mechelynck
[EMAIL PROTECTED] wrote: "A.J.Mechelynck" <[EMAIL PROTECTED]> 写于 2007-06-06 10:30:54: 1. will vim write BOM when writing to unicode files? or is there any options for that? :setlocal bomb When opening a Unicode file, Vim will set or clear the buffer-local 'bomb'

Re: Pass vim variable to ruby function

2007-06-05 Thread A.J.Mechelynck
Akbar wrote: Hi, This is my ruby script: VIM::command("function! OpenRequire(open) ruby open_require(open) endfunction") But open is not recognized by ruby. But I can do this: VIM::command("function! OpenRequire(open) echo a:open endfunction") This d

Re: 'fileencodings': Why use ucs-2le for cp936 file?

2007-06-05 Thread A.J.Mechelynck
[EMAIL PROTECTED] wrote: > "A.J.Mechelynck" <[EMAIL PROTECTED]> 写于 2007-06-06 09:51:51: >> Unicode files may or may not have a BOM, depending on who (or which > program) >> created them and where they come from. If you remove "ucs-2le" from your >>

Re: 'fileencodings': Why use ucs-2le for cp936 file?

2007-06-05 Thread A.J.Mechelynck
[EMAIL PROTECTED] wrote: Hello, Recently I want to do some research about 'fileencodings', what I want is to recognize utf-8, ucs-2le, euc-cn and cp936 encodings. So I set the 'fencs' in my .vimrc: set fencs=ucs-bom,utf-8,ucs-2le,euc-cn,cp936 However, cp936 files are always recognized as ucs-2

Re: Syntax Highlighting works for one file only

2007-06-05 Thread A.J.Mechelynck
Tim Johnson wrote: On Tuesday 05 June 2007, A.J.Mechelynck wrote: In your second (badly highlighted) *.py file, what does Vim answer to :verbose set filetype? filetype=conf Last set from /usr/share/vim/vim70/filetype.vim Hmm! Thanks Tony Tim Hm. In the Vim 7.1

Re: Syntax Highlighting works for one file only

2007-06-05 Thread A.J.Mechelynck
Tim Johnson wrote: Hello: I'm using vim compiled as 'vim.full' for kubuntu 7.04 amd-64. I can load one file and one file only - it's a python file - where syntax highlighting comes on automatically. Any subsequent files with a .py extension are loaded with only strings highlighted. :setf python e

Re: VimWiki - released finally

2007-06-05 Thread A.J.Mechelynck
Tom Purl wrote: On Tue, June 5, 2007 2:29 pm, [EMAIL PROTECTED] wrote: Selon Tom Purl <[EMAIL PROTECTED]>: On Tue, June 5, 2007 12:36 pm, [EMAIL PROTECTED] wrote: Hello, Tom Purl <[EMAIL PROTECTED]> wrtoe: How do you update the categories? I can't seem to find that text when I edit the fu

Re: history in new instance

2007-06-05 Thread A.J.Mechelynck
Ron Olson wrote: Hi all- I use Vim 7 both on Windows and a Mac (in gui mode) and Linux (console mode) and I've noticed that all versions I have, except the Mac one, keeps a command history from previous instances. That is, if I type : and then up-arrow, I can see commands that I've previously en

Re: vim apparently ignoring -c nomodeline cmdline option

2007-06-05 Thread A.J.Mechelynck
Gary Johnson wrote: On 2007-06-05, Rodolfo Borges <[EMAIL PROTECTED]> wrote: When opening a file that ends with # vim:fdm=marker: vim keeps doing the folding, even if I call it with -c nomodeline (I also tried -c modelines=0). Is it vim fault's, or (more likely) mine? Note that ":help -c

Re: buffer local autocmd

2007-06-05 Thread A.J.Mechelynck
Markus Schulz wrote: hello, i want to setup some things only for php-source files. But i don't get the autocmd local to buffer. The setup was also applied to opened c++ files after the first php file. currently i have this inside my .vimrc (php.vim sets some tabulator options) autocmd F

Re: search/paste question

2007-06-05 Thread A.J.Mechelynck
Tim Chase wrote: I see you can "/text" to search, and do "*" to find the next occurrence of the word under the cursor, but how do you paste text that you've just yank'd, into the search line after you press / without using the mouse? You can use control+R followed by "/" to insert the text of

Re: Selecting font size

2007-06-04 Thread A.J.Mechelynck
Tim Johnson wrote: Hello: I'm using vim compiled as 'vim.full' for kubuntu 7.04 amd-64. I used vim extensively for programming for years, and am now getting "back into it". When I start vim, I see a font that I really like, but I would like to make the font smaller. The problem is that when I c

Re: CVS vs SVN

2007-06-04 Thread A.J.Mechelynck
Robert Hicks wrote: Is Vim moving to svn? I was curious as to why in the downloads section there is both a cvs version and a svn version. Robert IIUC, the SVN server is mirroring the CVS server, with some lag, for the users who prefer getting the source by SVN. Best regards, Tony. -- "To

Re: Cut and paste between vim and OS X terminal

2007-06-02 Thread A.J.Mechelynck
Henry Throop wrote: OK; tried that. Both macroman and utf-8 give me the same results, which are the same as before. -Henry On Jun 2, 2007, at 2:50 PM, A.J.Mechelynck wrote: Henry Throop wrote: Hi -- I'm having a problem using cut and paste to put text from a VIM document, into a ter

Re: Cut and paste between vim and OS X terminal

2007-06-02 Thread A.J.Mechelynck
Henry Throop wrote: Hi -- I'm having a problem using cut and paste to put text from a VIM document, into a terminal window. It's some sort of character encoding issue. Here's what I do: o Start up gvim with no file. I'm using 6.2. o Type a few characters. o Copy some material (Apple-C) o

Re: good keys for mappings

2007-06-02 Thread A.J.Mechelynck
John Little wrote: Hi all Tony said: F2 to F12 (with the possible exception of F10), Shift-F1 to Shift-F12. Perhaps not the OP, but someone might find this useful. Vim, at least on Windows, also knows about F13, F14 and F15. I've never seen a keyboard with such, but registry mappings can b

Re: :scriptfiles

2007-06-01 Thread A.J.Mechelynck
Tushar Desai wrote: sorry ... my bad. it is scriptnames and not scriptfiles. but, my plugins still won't work. :-( regards, -tushar. If nothing else avails, you may try executing Vim step-by-step, see ":help debug-scripts". Best regards, Tony. -- The price of seeking to force our beliefs

Re: :scriptfiles

2007-06-01 Thread A.J.Mechelynck
Tushar Desai wrote: I was previously able to do ":scriptfile" for vim 7.1 (on Fedora Core 6), when I was debugging why my plugins won't work. Then to check if plugins would work in vim 7.0, I did a "make install" from vim 7.0. Since they didn't seem to work in vim 7.0, I reverted back to vim 7.1,

Re: OT: Vi in a browser...

2007-06-01 Thread A.J.Mechelynck
Gene Kwiecinski wrote: Personally, I don't agree with you. When editing short text items on web pages, I feel that the overhead of copying/pasting back and forth from vim is too much. I am currently using the Speaking of which, is there any quicker way to visually select the entire file, analog

Re: plugins in vim 7.1

2007-05-31 Thread A.J.Mechelynck
Tushar Desai wrote: Hi Tony, which patches are you referring to? if download latst vim7.1 tarball, will it have the patches? thanks for your help, -tushar. No. The patches are in ftp://ftp.vim.org/pub/vim/patches/7.1/ and are _in addition_ to the tarball which is 7.1.0. See http://users.sk

Re: can't diffsplit

2007-05-31 Thread A.J.Mechelynck
Lev Lvovsky wrote: I have two files which I'd like to compare via diffsplit in an existing vim session - trying to do so by issuing ':diffsplit ' when the other one is already in the window gets me the error: E97: Cannot create diffs I can properly open the diff in a separate instance via 'vi

Re: Retaining undo levels

2007-05-31 Thread A.J.Mechelynck
Виктор Кожухаров wrote: В чт, 2007-05-31 в 22:09 +0200, A.J.Mechelynck написа: Виктор Кожухаров wrote: Hi, Is there a way to retain the undo levels, even when the buffer is not loaded in any windows/tabs? Right now, whenever I open another file in a window, the previous file loses it's

Re: Retaining undo levels

2007-05-31 Thread A.J.Mechelynck
Виктор Кожухаров wrote: Hi, Is there a way to retain the undo levels, even when the buffer is not loaded in any windows/tabs? Right now, whenever I open another file in a window, the previous file loses it's undo levels, even though it is still inside the buffer list. I /think/ the undo level

Re: plugins in vim 7.1

2007-05-31 Thread A.J.Mechelynck
-L/usr/lib/perl5/5.8.8/i386- linux-thread-multi/CORE -lperl -lresolv -lutil -lc -L/usr/lib/python2.4/config -lpython2.4 -lutil -lm -Xlinker -export-dynamic On 5/31/07, A.J.Mechelynck <[EMAIL PROTECTED]> wrote: Tushar Desai wrote: > I had done a "make install" for vim7.1 and

Re: install new syntax file

2007-05-31 Thread A.J.Mechelynck
DM wrote: Hi, I'm using gVim on windows. I've created an lzx.vim syntax file and dropped it into C:\Program Files\Vim\vim70\syntax. It works fine if I execute: :cal setSyn("lzx") However this syntax is not available from the syntax menu and vim does not automatically use this syntax when I

Re: good keys for mappings

2007-05-31 Thread A.J.Mechelynck
DervishD wrote: Hi Tony :) * A.J.Mechelynck <[EMAIL PROTECTED]> dixit: But I'd say the F keys are the "safest" in general, especially when taking portability into account. Of course: if you plan to use more than one vim or more than one keyboard type, the F key

Re: good keys for mappings

2007-05-31 Thread A.J.Mechelynck
DervishD wrote: Hi Arn :) * Arn <[EMAIL PROTECTED]> dixit: Any suggestions on keys/key combos that are good candidates for custom mappings etc? Maybe a dumb question but I hate having to unlearn something, I'd like to create a fair number of mappings that use a consistent convention and

Re: good keys for mappings

2007-05-31 Thread A.J.Mechelynck
Arn wrote: Hi, Any suggestions on keys/key combos that are good candidates for custom mappings etc? Maybe a dumb question but I hate having to unlearn something, I'd like to create a fair number of mappings that use a consistent convention and won't conflict with anything existing. I think

Re: Scrolling marquee text on vim status bar

2007-05-31 Thread A.J.Mechelynck
Srinivas Rao. M wrote: HI Vimmers, Is it possible to have a horizontal text to run horizontally on marquee ? regards, Srini... Well, maybe you can program a custom 'statusline' function to display scrolling text by deleting one character in front and adding one character at the end; but I d

Re: starting a second vim session in diff mode from out first vim

2007-05-31 Thread A.J.Mechelynck
Eric Leenman wrote: Hi, Is it possible from a first gvim session to init a second gvim session in diff mode? And this diff mode should then use the two files that are used in the first gvim session? So if A.TXT and B.TXT are used in the first, the second should show the difference in the second

Re: plugins in vim 7.1

2007-05-31 Thread A.J.Mechelynck
Tushar Desai wrote: I had done a "make install" for vim7.1 and that's how the /usr/local/share/vim71/... dir structure was created on my machine. Also, the directory is "plugin" and not "plugins" (which was my typo in the email). The makeparens.vim plugin has stopped working in Fedora Core 6 a

Re: plugins in vim 7.1

2007-05-31 Thread A.J.Mechelynck
[EMAIL PROTECTED] wrote: "Tushar Desai" <[EMAIL PROTECTED]> 写于 2007-05-31 13:51:28: I recently upgraded from vim 7.0 to vim 7.1 (on ubuntu feisty) by compiling the vim7.1 tarball. Did you "make install" from the tarball? If compiled from tarball, the prefix defaults to /usr/local, while the ubu

Re: OT: Vi in a browser...

2007-05-31 Thread A.J.Mechelynck
Edward L. Fox wrote: [...] A friend told me that he is developing a Firefox addon to emulate the Vi/Vim behaviors in all text areas in Firefox, without launching external applications. I'm looking forward to it. [...] I don't think any "Vim extension" aiming at reproducing Vim's behaviour with

[Fwd: Re: No Previous Regular expression]

2007-05-31 Thread A.J.Mechelynck
Forward to list. Best regards, Tony. Original Message Subject: Re: No Previous Regular expression Date: Wed, 30 May 2007 20:02:36 -0700 From: [EMAIL PROTECTED] To: A.J.Mechelynck <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> Quoti

Re: No Previous Regular expression

2007-05-30 Thread A.J.Mechelynck
Tim Johnson wrote: Using vim 7.0 on kubuntu 7.04 (feisty fawn amd 64) I've recently migrated from vim 6-something on slack 10.0 On my previous version and box, if I searched on an expression in one file, closed it and opened another, "n" would continue with the search. Now, I get an "E35: No

Re: JSVI: Vi implemented in Javascript

2007-05-30 Thread A.J.Mechelynck
Tobias Klausmann wrote: Hi! On Wed, 30 May 2007, A.J.Mechelynck wrote: [...] Hmm... when's the day when Vim will be implemented in Lisp, so if the boss wants everyone to use Emacs, we can obey and still have the look, feel and functionality of Vim? (Not necessarily the speed, t

Re: JSVI: Vi implemented in Javascript

2007-05-30 Thread A.J.Mechelynck
Kevin Old wrote: Not sure if everyone's seen this, but it's definitely cool and quite accurate. http://ajaxian.com/archives/jsvi-you-love-vi-you-love-javascript-now-you-have-both Hmm... when's the day when Vim will be implemented in Lisp, so if the boss wants everyone to use Emacs, we ca

Re: Is there a "xml formatter"?

2007-05-30 Thread A.J.Mechelynck
fREW wrote: Or just try gg=G after you had opened your xml file. 4) to reformat an existing file: gggqG What is the actual difference of these two commands? I usually use = for code and gq for text, so I presumed that one was for formatting and one was for 'linewidth'ing. You may

Re: Encoding

2007-05-30 Thread A.J.Mechelynck
Damir Zucic wrote: Hi everybody, I have just recently installed my new linux box. It runs openSUSE 10.2, and I have upgraded vim to version 7.0.243 . Before, I have used older vim versions (6 and older). In the past I have used to insert special characters (there are five uppercase and five l

Re: Is there a "xml formatter"?

2007-05-30 Thread A.J.Mechelynck
wangxu wrote: I want to have this function: formatting my xml file automatically. or,indent xml element and attributes. is there any plugin like this? thanks! I see that an indent/xml.vim is distributed with Vim. Try the following: 1) In you vimrc, make sure that you enable filetype-related

Re: Why bottom-posting is prefered on Vim Mainling List?

2007-05-29 Thread A.J.Mechelynck
Dave Land wrote: On May 29, 2007, at 4:22 AM, Matthew Winn wrote: I've seen similar debates elsewhere where the top-poster's response has been along the lines of "This is my Internet on my computer; I'm going to behave how I want and I don't care how much trouble I cause for other people." Tr

Re: Why bottom-posting is prefered on Vim Mainling List?

2007-05-29 Thread A.J.Mechelynck
Friedrich Strohmaier wrote: [...] btw. I join the voices that price the nice way people are discussing even that (off-)topic on this list. Vimmers seem to be a special kind of civilized people. :o)) About being off-topic: IMO netiquette questions about a list are always on-topic on that same

[Fwd: Re: VimWiki - First Beta]

2007-05-29 Thread A.J.Mechelynck
Forward to list. Best regards, Tony. Original Message Subject: Re: VimWiki - First Beta Date: Tue, 29 May 2007 16:25:35 -0600 From: fREW <[EMAIL PROTECTED]> To: A.J.Mechelynck <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>

Re: VimWiki - First Beta

2007-05-29 Thread A.J.Mechelynck
Yongwei Wu wrote: HI Sebastian, On 29/05/07, Sebastian Menge <[EMAIL PROTECTED]> wrote: Hi all Access the first beta here: http://tinyurl.com/34kfj5 [snipped] Please give feedback! From this page: http://ls10pc13.cs.uni-dortmund.de/mediawiki/index.php/AES256_Encryption_in_vim_done_easy.

Re: mbox format archive?

2007-05-29 Thread A.J.Mechelynck
fREW wrote: On 5/29/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Ehehe never mind about this, I had no idea this would stir everyone up. I consider it fairly normal for list archives to be offered in mbox format (ex. Lua and Template Toolkit and 5 million others) and like to keep them ar

Re: mbox format archive?

2007-05-29 Thread A.J.Mechelynck
[EMAIL PROTECTED] wrote: Ehehe never mind about this, I had no idea this would stir everyone up. I consider it fairly normal for list archives to be offered in mbox format (ex. Lua and Template Toolkit and 5 million others) and like to keep them around, since I can just drop them right into loca

Re: mbox format archive?

2007-05-29 Thread A.J.Mechelynck
fREW wrote: [...] The interesting thing is that the guy who is in question of being a spammer is the same guy who asked for safeguards against that type of thing... no, he isn't; it was requested by "[EMAIL PROTECTED]" (and later by Ali Polatel), and warned against by "steven smith". If my

Re: mbox format archive?

2007-05-29 Thread A.J.Mechelynck
Tim Chase wrote: Hmm... This post of mine seems to be eliciting two kinds of reactions: "Me too, me too" and "Don't, you fool, he may be a spammer harvesting addresses". I think I'll leave it on the backburner for a while, waiting for the situation to clarify. Comments, anyone? This is the

Re: mbox format archive?

2007-05-29 Thread A.J.Mechelynck
Ali Polatel wrote: A.J.Mechelynck <[EMAIL PROTECTED]> yazmış: [EMAIL PROTECTED] wrote: hi i'd like to get as large an archive as possible of this list in mbox format. Looking around I don't see any archive in mbox format surprisingly, does anyone know if this exists? th

Re: VimWiki - First Beta

2007-05-29 Thread A.J.Mechelynck
Sebastian Menge wrote: Am Dienstag, den 29.05.2007, 02:45 -1100 schrieb Yakov Lerner: On 5/29/07, Sebastian Menge <[EMAIL PROTECTED]> wrote: Hi all Access the first beta here: http://tinyurl.com/34kfj5 Where can I see the "recently posted"/"by recency" view ? In other words, what's used for R

Re: mbox format archive?

2007-05-29 Thread A.J.Mechelynck
steven smith wrote: A.J.Mechelynck wrote: No. Either you get it as it came through the list, or you don't; I'm not gonna lose time&effort at editing a file which I'm providing "as is" as a convenience to some other Vimmer. Email addresses were sent to the list,

Re: mbox format archive?

2007-05-29 Thread A.J.Mechelynck
steven smith wrote: A.J.Mechelynck wrote: [EMAIL PROTECTED] wrote: [...] I've been archiving the vim, vim-dev and vim-multibyte lists locally, ever since I switched over to Linux. The file is 19 meg by now. Shall I send it to you as attachment by private email? Please make sure you

Re: mbox format archive?

2007-05-29 Thread A.J.Mechelynck
[EMAIL PROTECTED] wrote: hi i'd like to get as large an archive as possible of this list in mbox format. Looking around I don't see any archive in mbox format surprisingly, does anyone know if this exists? thanks! I've been archiving the vim, vim-dev and vim-multibyte lists locally, ever

Re: Why bottom-posting is prefered on Vim Mainling List?

2007-05-29 Thread A.J.Mechelynck
Yakov Lerner wrote: On 5/28/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: As far as I know, most e-mail clients defaults to top-posting some email clients have an option. But it does not help much. Top-vs-bottom depends on the specific mailing list. If I am on mailing list X which has conve

Re: Why bottom-posting is prefered on Vim Mainling List?

2007-05-29 Thread A.J.Mechelynck
Matthew Winn wrote: [...] I've seen similar debates elsewhere where the top-poster's response has been along the lines of "This is my Internet on my computer; I'm going to behave how I want and I don't care how much trouble I cause for other people." :D :D :D Best regards, Tony. -- Executive

Re: Why bottom-posting is prefered on Vim Mainling List?

2007-05-29 Thread A.J.Mechelynck
Michael Henry wrote: [...] I continue to be impressed by the Vim mailing list. Contributors are helpful, willing to spend time answering in detail, and above all very polite. This is one of the nicest "top- versus bottom-posting" discussions I've seen on a mailing list :-) Michael Henry Yes

Re: VimWiki - Page Titles

2007-05-28 Thread A.J.Mechelynck
Sebastian Menge wrote: Am Montag, den 28.05.2007, 16:18 +0200 schrieb A.J.Mechelynck: This is where my redirect suggestion comes into play (assuming wiki software I took your advice silently. Your suggestion is already in the script. Sebastian. well, sorry I didn't look at the script

Re: VimWiki - Page Titles

2007-05-28 Thread A.J.Mechelynck
John Beckett wrote: Sebastian Menge wrote: Find the list (95 entries) here: http://scratchpad.wikia.com/wiki/Errornames Thanks for the good start. FYI there are a couple of lines with broken links: 157 160: 171: Do you know the "g/" and "g?" commands? Above gives: Vim Online Error Couldn't

Re: Where to announce new Syntax-Definition?

2007-05-25 Thread A.J.Mechelynck
/dev/stderr wrote: Hi folks, i've write an new syntaxfile for the language 'GCode' (to control CNC-Machines). Including an addition to the filetype.vim to autoload syntaxfile an an ftplugin-file. But i dont know here to announce or send in the files. Maybe someone writes a advice to me ;) Tha

Re: A performance question

2007-05-24 Thread A.J.Mechelynck
John Beckett wrote: A.J.Mechelynck wrote: What about a different function to return, say, the number of 1K blocks (or the number of times 2^n bytes, with a parameter passed to the function) that a file uses? Yes, that's a much more general and better idea. Since there's probabl

Re: A performance question

2007-05-24 Thread A.J.Mechelynck
John Beckett wrote: Yongwei Wu wrote: Even FAT32 supports files much larger than 4GB. Not true. FAT32 supports files up to 4 GB. Sorry I shot my mouth off there - I realised my blunder about ten minutes after sending. I haven't actually used a FAT32 partition for over ten years, and was conf

Re: A performance question

2007-05-24 Thread A.J.Mechelynck
John Beckett wrote: Charles E Campbell Jr wrote: Sounds like the filesize is getting stored in a 32bit signed number, and overflowing. Yes, definitely. Please let me know what getfsize() is actually returning The return value is the bit pattern for the low 32 bits of the true 64-bit file s

Re: taglist: "ctrl ]" & azerty

2007-05-24 Thread A.J.Mechelynck
Mathieu Malaterre wrote: Hello there, I am trying to use taglist on my AZERTY keyboard and I cannot get ctrl ] to work. If I type :ts + tagname I can see that taglist is working. thanks, I also have an AZERTY keyboard, and neither do I know whether (and where) it has Ctrl-] but that doesn'

Re: A performance question

2007-05-23 Thread A.J.Mechelynck
Robert Maxwell Robinson wrote: In that case, I'll have to thank Bram for fixing my problem before I even asked him to do so! Thanks Gary, when I get a chance I'll download vim 7. To those of you who provided links to work-around scripts etc., thank you for your help. If any of you are hav

Re: VimWiki - referring to vimdoc

2007-05-23 Thread A.J.Mechelynck
Sebastian Menge wrote: Am Mittwoch, den 23.05.2007, 11:12 -0700 schrieb Gary Johnson: Executing ":help tags.txt" shows there is no tags.txt help file, Yea, there is "tags" in the doc-directory of vim, one can easily use that with python (python is really cool!) and construct the URL. You're r

Re: A performance question

2007-05-22 Thread A.J.Mechelynck
Robert M Robinson wrote: First, thanks very much for creating VIM! I have been using it on Linux systems for years, and now use it via cygwin at home as well. I vastly prefer VIM to EMACS, especially at home. I learned vi on a VAX/VMS system long ago (a friend of mine had ported it), when

[Fwd: RE: Save as not responding]

2007-05-21 Thread A.J.Mechelynck
Forward to list. Original Message Subject: RE: Save as not responding Date: Mon, 21 May 2007 11:33:17 +0200 From: Smoldas Vladimir <[EMAIL PROTECTED]> To: A.J.Mechelynck <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <

Re: Save as not responding

2007-05-21 Thread A.J.Mechelynck
Smoldas Vladimir wrote: Sorry I forgot to attach environment info: Vim 7.1 (2007 May 12,compiled May 12...) Windows XP SP2 But, I have installed this version today only.. I will try install the version you mentioned. Regards Vladimír Šmoldas "The version I'm using" is a Linux version; but fo

Re: Save as not responding

2007-05-21 Thread A.J.Mechelynck
Smoldas Vladimir wrote: Hi, I have a problem to execute: browse confirm saveas (or save as from menu list) on new file (without name). Steps to simulate the problem: 1.Open gvim 2. Save as (browse confirm saveas) - gvim not responding for 5 minutes (than I killed him) But when I open existin

Re: repeating up/down/delete commands

2007-05-20 Thread A.J.Mechelynck
[EMAIL PROTECTED] wrote: "A.J.Mechelynck" <[EMAIL PROTECTED]> 写于 2007-05-19 15:42:15: This is true, but rather than an empty vimrc I suggest the following: runtime vimrc_example.vim " if and when we want to further customize Vim, we'll add more lines below Best re

Re: How to compile graphical Vim on Mandriva 2007?

2007-05-20 Thread A.J.Mechelynck
Steve Litt wrote: On Sunday 20 May 2007 15:51, you wrote: On 5/20/07, Steve Litt <[EMAIL PROTECTED]> wrote: Hi all, I tried to compile graphical Vim 7.1 on Mandriva 2007. I downloaded vim-7.1.tar.bz2, untarred it, and did the following from the top level directory created (vim71): ./configure

Re: How to get value of ~ (last used replace-to string) in script

2007-05-20 Thread A.J.Mechelynck
Tim Chase wrote: In a script, how do I get the value of ~ -- the last used replace-to string, as used in s//~/ ? While I've wondered this in the past, and don't have an answer at the moment, I found a small bug in the help text (or in the :help command) while hunting. In Vim7, if I type

Re: C-X C-F completion and paths with spaces

2007-05-20 Thread A.J.Mechelynck
Matthew Winn wrote: On Sat, 19 May 2007 19:43:46 +0200, "A.J.Mechelynck" <[EMAIL PROTECTED]> wrote: It seems that the 'isfname' option doesn't include a space by default. But is that right? On both Windows and Unix, a filename may include spaces (though special

Re: C-X C-F completion and paths with spaces

2007-05-19 Thread A.J.Mechelynck
David Nečas (Yeti) wrote: On Sat, May 19, 2007 at 07:43:46PM +0200, A.J.Mechelynck wrote: It seems that the 'isfname' option doesn't include a space by default. But is that right? On both Windows and Unix, a filename may include spaces The question is not whether file na

Re: C-X C-F completion and paths with spaces

2007-05-19 Thread A.J.Mechelynck
Maciej Kalisiak wrote: Hello fellow Vimmers, Can any of you that work on Windows tell me how you handle filename completion (C-X C-F) for paths that contain spaces? I love this completion method, but as soon as I get to C:\Document and Settings\, it "stops working", because of course a space ch

Re: repeating up/down/delete commands

2007-05-19 Thread A.J.Mechelynck
Gary Johnson wrote: [...] One way to make sure that vim starts in non-compatible mode is to make sure you have a .vimrc file in your HOME directory, even if the file is empty. [...] This is true, but rather than an empty vimrc I suggest the following: " Vim startup file " Preferences which af

Re: Disabling Alt+keys (menu keys) in Windows gVim

2007-05-18 Thread A.J.Mechelynck
Tim Chase wrote: Is there a way I can rebind alt+something keys for Windows gVim. Normally alt+b is for opening the "buffers" menu, alt + w is for opening the "windows" menu, etc. Is the only solution rebuilding Vim without those shortcuts, or is there a easier/quicker way to do it? Well, if y

Re: repeating up/down/delete commands

2007-05-18 Thread A.J.Mechelynck
David Pike wrote: Uh oh... I spoke slightly too soon. Although the up/down/delete functions that I first asked about now behave normally, the vim -N -u NONE -i NONE option now results in "999 d" deleting 999 characters, often well beyond those of the present line. I had been used to this de

Re: repeating up/down/delete commands

2007-05-18 Thread A.J.Mechelynck
David Pike wrote: This will hopefully be an easy question or two... An upgraded version of vim was installed on our systems recently, and some tricks that I'm used to are no longer functional, such as: "[a large integer, say N] " to quickly get to the top of the file that I am editting, "[N] " t

Re: Vim Icon

2007-05-18 Thread A.J.Mechelynck
Michael Phillips wrote: Before install the new vim, I deleted the version of vim first. In the process it deleted the vim icon. Now I have installed Vim 7.1. Where is the icon located for vim? I am using VIM - Vi IMproved 7.1 (2007 May 12, compiled May 12 2007 14:19:39) MS-Windows 32 bit GUI v

Re: Vim Wiki - Tip id and URL

2007-05-18 Thread A.J.Mechelynck
John Beckett wrote: A.J.Mechelynck wrote: Wouldn't it be enough to set up the main tip page with a tip _name_ (which would be the current "title" of the tip, or a disambiguation page if there are more than one tip with the same title), and have the tip _number_ (only for tips im

Re: How to efficiently type polytonic Greek?

2007-05-17 Thread A.J.Mechelynck
Guido Milanese wrote: [...] Important: use a font with a decently complete set of chars. In Linux you should be able to use Gentium, I believe, but personaly I prefer a fixed font and use "Bitstream\ Vera\ Sans\ Mono" with excellent results. [...] Except in the GTK+2 version of gvim, variable-

Re: Vim Wiki - Tip id and URL

2007-05-17 Thread A.J.Mechelynck
John Beckett wrote: It is important for us to have an easy way to refer to tips, and the URL of each tip should be simple (and not wrap in an email). Below is some detail for a proposal to achieve this. What does everyone think? Have a script scrape tip titles from the current Vim Tips. Create

Re: embedable vim?

2007-05-16 Thread A.J.Mechelynck
Franco Saliola wrote: Is there a way to embed vim into my browser (or any other application for that matter)? I hate typing in the html text boxes and would much prefer to use vim to edit my email. Or are there any suggestions on reading/writing email using Gmail and Vim? I'll create a tip if

Re: Vim71: breaking change not mentioned in the document.

2007-05-16 Thread A.J.Mechelynck
[EMAIL PROTECTED] wrote: Hi, vimmers: The line 1230 of editing.txt said: To change to the directory of the current file: :cd %:h This works for Vim 7.0 and before, but not for Vim 7.1. In Vim 7.1 when the pwd is the same as the directory of current file, the command will fail with E500

Re: Identify this Vim font for me, please

2007-05-16 Thread A.J.Mechelynck
madiyaan wrote: Hello, This isn't very related to Vim, but I found this font on Vim's wikipedia webpage: http://upload.wikimedia.org/wikipedia/commons/8/8c/Vim-%28logiciel%29-console.png Can anyone identify this font for me? It looks very good for programming. Thank you very much, That's th

Re: enabling cyrillic character display support

2007-05-16 Thread A.J.Mechelynck
Yongwei Wu wrote: [...] If you are courageous enough see a real-world example of complicated multi-language support, check my _vimrc at: http://wyw.dcweb.cn/download.asp?path=vim&file=_vimrc.txt (as text) or http://wyw.dcweb.cn/download.asp?path=vim&file=_vimrc.html (as HTML) Best regards, Yon

Re: Vim Wiki - Tip Page Formatting Deadline

2007-05-16 Thread A.J.Mechelynck
Gene Kwiecinski wrote: Thinking about how a wiki works shows that keeping tip numbers is doomed. First, there is no auto-increment id, and as you point out, there is no reasonable way to automate fixes. Is there any equivalent to javascript's document.lastModified? Can create a "serial number"

Re: enabling cyrillic character display support

2007-05-16 Thread A.J.Mechelynck
Snucky wrote: Hi, i am pretty much a newbie among the VIM-configurations though love to type in this editor. I have tried to get through by using the help and such but soon realized that it takes some hours to learn out all basics - which i am not interested in, at least right now. So, i know t

Re: vim 7.1 and cr/lf interpretation

2007-05-16 Thread A.J.Mechelynck
Gene Kwiecinski wrote: "fileformats=dos,unix", so both formats are available, yet the detection and switching does not seem to work. Are you sure _every_ line ends in "^M"? Positive. Every single line shows an ^M at the end. "set fileformat" gives "unix" after loading. Setting fileformat to

Re: yanking text

2007-05-15 Thread A.J.Mechelynck
Robert Cussons wrote: Hi, I think a question like this was posted a long time ago, but I can't remember where or the answer, so please excuse me for asking it again. If I yank the next word with yw the cursor stays where it is. However if I want to yank text backwards from my current position fo

Re: vim 7.1 and cr/lf interpretation

2007-05-15 Thread A.J.Mechelynck
Thomas Michael Engelke wrote: 2007/5/15, A.J.Mechelynck <[EMAIL PROTECTED]>: Thomas Michael Engelke wrote: > 2007/5/15, A.J.Mechelynck <[EMAIL PROTECTED]>: >> Thomas Michael Engelke wrote: >> > 2007/5/14, Andy Wokula <[EMAIL PROTECTED]>: >> >&

Re: vim 7.1 and cr/lf interpretation

2007-05-15 Thread A.J.Mechelynck
Thomas Michael Engelke wrote: 2007/5/15, A.J.Mechelynck <[EMAIL PROTECTED]>: Thomas Michael Engelke wrote: > 2007/5/14, Andy Wokula <[EMAIL PROTECTED]>: >> Thomas Michael Engelke schrieb: >> > :set fileformats? >> > >> > gives >> > >&g

Re: Appending to Paste (*) Register

2007-05-15 Thread A.J.Mechelynck
zzapper wrote: "Yegappan Lakshmanan" <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]: Hi, On 5/14/07, zzapper <[EMAIL PROTECTED]> wrote: Hi I believe that the problem of Appending to Paste (*) Register was one of the points Bram was looking at (problem is no uppercase for a symbol) Wa

Re: compiling vim7.1 (huge version) gets build with normal version

2007-05-15 Thread A.J.Mechelynck
Tushar Desai wrote: I recently did a clean install of Ubuntu 7.04 and also installed all vim related packages. That got me a gui version of vim (7.0.164/Big compiled on 2007/03/11). I now want to compile and install the gui version of vim 7.1. So, I downloaded the tar-ball for the 7.1 sources to

Re: vim 7.1 and cr/lf interpretation

2007-05-14 Thread A.J.Mechelynck
Thomas Michael Engelke wrote: 2007/5/14, Andy Wokula <[EMAIL PROTECTED]>: Thomas Michael Engelke schrieb: > :set fileformats? > > gives > > "fileformats=dos,unix", so both formats are available, yet the > detection and switching does not seem to work. Are you sure _every_ line ends in "^M"? P

Re: mouse-wheel scrolling with vertically split windows

2007-05-14 Thread A.J.Mechelynck
Waters, Bill wrote: (I am using gVim 7.1 in Windows XP.) If I do a :vsplit, I end up with a scroll bar on the right for the right window and a scroll bar on the left for the left window. When I use my mouse wheel to scroll, the left window scrolls, regardless of which window is selected. If I

Re: is there bracket automatic completion scripts?

2007-05-13 Thread A.J.Mechelynck
Ken YANG wrote: hi all, when i am programming, i often want to the "bracket automatic completion" function, i.e. when you input left bracket, vim will add another(right) bracket for you automatically, and move the cursor into the middle of bracket automatically. as we know, gedit has this kind

Re: taglist plugin launch ctags fail in gvim windows.

2007-05-13 Thread A.J.Mechelynck
[EMAIL PROTECTED] wrote: "A.J.Mechelynck" <[EMAIL PROTECTED]> 写于 2007-05-14 13:21:47: If your shell is cmd.exe, "/usr/bin/ctags" will give "Unknown command or file name". If you want to mix Dos shells and cygwin utilities, you will have to juggle wit

Re: taglist plugin launch ctags fail in gvim windows.

2007-05-13 Thread A.J.Mechelynck
[EMAIL PROTECTED] wrote: Hi vimmers, I have WinXPSP2 and installed gvim 7.1, taglist plugin 4.2, cygwin with the most up-to-date version DLL. The issue is: run gvim from windows will fail the taglist plugin, taglist plugin only works when I launch gvim from within cygwin bash, (Yes I am running

  1   2   3   4   5   6   7   8   9   10   >