Re: save as in Windows menu

2006-12-01 Thread A.J.Mechelynck
Leiss, Jack wrote: I click on save as in the file menu of Windows. I do not get the save as window. Nothing happens. It used to work, but suddenly stopped. Some other menu selections work and some don't. How can I get save as to work from the file menu? I am using VIM

Re: Matching JUST the nth occurence of a text in a line

2006-12-01 Thread A.J.Mechelynck
Yakov Lerner wrote: On 12/1/06, Bill McCarthy [EMAIL PROTECTED] wrote: One might think so, but also note: :help non-greedy I don't have tag 'non-greedy' in the help. I have vim 7.9.164 from svn. Where do I get more updated helpfiles ? Yakov By ftp:

Re: Ignore case only during searching

2006-12-02 Thread A.J.Mechelynck
Daniel Trstenjak wrote: Hi all, I would like to have ignored case during searching by '/' and '?', but not during word completion in normal mode, and not during tag completion in commmand mode. I have played around with 'ignorecase' and 'smartcase', but I couldn't get the desired behaviour.

Re: using the convert 2 html utility without opening the file

2006-12-02 Thread A.J.Mechelynck
. Then you'll be able to wrap it up with a (corrected) :argdo command. see :help :args :help :argdo :help :TOhtml :help -c etc. Best regards, Tony. --- A.J.Mechelynck [EMAIL PROTECTED] wrote: Muddassirali Mirzani wrote: Hi, i'd like to know how can use the vim

Re: using the convert 2 html utility without opening the file

2006-12-02 Thread A.J.Mechelynck
Muddassirali Mirzani wrote: Thanks Tony.. But the command doesn't work.. vim pops up and closes down but no files generated . Oh, I think I know... the bar | is used by the shell as a redirection operator. Write the following as a script -- batchtohtml.vim set autochdir argdo %TOhtml

Re: russian chars in utf8

2006-12-02 Thread A.J.Mechelynck
Yakov Lerner wrote: I prepared the file with russian characters in utf8, the russian alphabet: # russian alphabet in utf-8 абвгдеёжзиклмнопрстуфхцчшщэюя АБВГДЕЁЖЗИКЛМНОПРСТУФХЦЧШЩЭЮЯ I set the 'konsole' encoding to utf8. When I 'cat' this file, I see russian

Re: russian chars in utf8

2006-12-03 Thread A.J.Mechelynck
Yakov Lerner wrote: On 12/3/06, A.J.Mechelynck [EMAIL PROTECTED] wrote: Yakov Lerner wrote: [...] My vim is build with +mbyte ('huge' build). gvim shows russian letters. vim under console, no. The linux is FC5. Yakov +mbyte is required for Unicode support as well as for any 16-bit

Re: Knowing the name vim was invoked under

2006-12-03 Thread A.J.Mechelynck
DervishD wrote: [...] That's how I do it right now, but I don't want to use the alternative configuration just because readonly is set, I want to use based on the invocation name, at least for my system. Thanks a lot for your help :))) Raúl Núñez de Arenas Coronado Well, note

Re: russian chars in utf8

2006-12-03 Thread A.J.Mechelynck
Yakov Lerner wrote: [...] I wonder now how do I add to vimrc this setting that vim wants to be set before vimrc ? ( the 'set enc=utf8' setting) ?:-) Do you know why exactly 'set enc=utf8' in vimrc is ignored ? Looks like a bug to me Not sure, but the order of lines within the vimrc

Re: your best vim scripting tip

2006-12-03 Thread A.J.Mechelynck
Kim Schulz wrote: Hi, It you should give one (or more) tips to a person who was going to start creating scripts for vim, then what would it be? (besides know your :help :-) ) ideas could be: Do's and dont's best util script often used functions ways of optimization etc. etc.. In

Re: Man generates lines that are too long

2006-12-03 Thread A.J.Mechelynck
Guido Van Hoecke wrote: The :Man command always outputs lines that do not fit within the current line length. The Description section of the bash man page is rendered as follows in a 75x50 gnome terminal (using a narrow window to avoid the wrapping by email clients): DESCRIPTION

Re: How to change controls to other Keyboard input

2006-12-04 Thread A.J.Mechelynck
Ondřej Ševčík wrote: Is it posible to change vim controls to be independent on input characters? I use english and czech keyboard and they have different key layout. Can I translate keys in command mode? I need to ů have same meaning as ; becouse they are on same key. It's really hard to use

Re: Do a grep -r without match .svn directory ?

2006-12-04 Thread A.J.Mechelynck
KLEIN Stéphane wrote: Hi, In vim, I would like do a :grep -r but don't match .svn directory. Grep or vim have this feature ? Thanks for you help Stephane This is actually OT for Vim, since grep is an external program; but you can use grep -r --exclude=PATTERN to skip any directory

Re: (un)sourcing

2006-12-04 Thread A.J.Mechelynck
C.G.Senthilkumar. wrote: Hi, I use the following autocmd in my ~/.vimrc to load a source file with my personal vim mappings while editing a tex file: autocmd FileType tex source ~/Dot.vilatexrc This works fine. However, the mappings continue to exist even after I open a different filetype

Re: Do a grep -r without match .svn directory ?

2006-12-04 Thread A.J.Mechelynck
Greg Matheson wrote: On Tue, 05 Dec 2006, A.J.Mechelynck wrote: KLEIN Stéphane wrote: Hi, This is actually OT for Vim, since grep is an external program; but you can use grep -r --exclude=PATTERN to skip any directory matching the pattern (at least with GNU grep

Re: I can't make gvim the default application for .txt files in WinXP

2006-12-05 Thread A.J.Mechelynck
[ post reordered to conform with mailing list no-top-posting conventions ] Jeffrey Robertson wrote: -Original Message- From: A.J.Mechelynck [mailto:[EMAIL PROTECTED] Sent: Friday, December 01, 2006 4:07 PM To: Robertson, Jeffrey (CAR:QW32) Cc: Sean Plank; vim@vim.org Subject: Re: I

Re: aligning text to a certain column

2006-12-05 Thread A.J.Mechelynck
Jean-Rene David wrote: * Lev Lvovsky [2006.12.05 13:53]: how can I align text under and after the cursor position to a specific column number? :.,$s/^\s*/ /g will align the first non-blank on the fourth column, from the cursor's line to the end of the file. and probably just as

Re: soft line breaks + limited width display?

2006-12-06 Thread A.J.Mechelynck
Karsten Gerloff wrote: Hi, I'm currently writing a lot of text in vim that will later need to transfer to a word processor (OpenOffice 2.0 in this case). Since it makes reading easier, I want to make lines wrap at 66 chars; this has long worked fine with set textwidth=66 But this

Re: Caps lock with keymap

2006-12-06 Thread A.J.Mechelynck
Anatoli Sakhnik wrote: Hi, vim users! Some regular alphabet letters of many languages are placed on punctuation signs of the English keyboard. Let's suppose I use the keymap command to design desired keyboard layout. But then a little annoying oddity appears. When the caps lock is on, mapped

Re: How to replace cp1252 characters

2006-12-06 Thread A.J.Mechelynck
Andreas Otto wrote: Hi Andrei, On Wednesday, 6. December 2006 13:37, Andrei A. Voropaev wrote: Well, if iconv fails, then it means that those characters are not from CP1252. Or maybe you've provided wrong options to iconv :) The iconv command used is: iconv -f CP1252 -t UTF-8 latin1.sql

Re: Caps lock with keymap

2006-12-06 Thread A.J.Mechelynck
Anatoli Sakhnik wrote: Well, I see. The proposed solution is quite simple and reliable, but there's a little disadvantage. Using standard keyboard layout means that you can use 'ten-finger blind typing method'. So do I, that is You can, maybe. I never learnt whatever keyboard layout is

Re: Wron Block-Insert (p)

2006-12-06 Thread A.J.Mechelynck
Thomas Michael Engelke wrote: Hello, I have found an oddity in vim which I'm not sure is a bug and/or known. I have yanked a visual block of some lines of code and try to put it in somewhere else. There a strange effect happens: depending on if there is either a character or a beginning of

Re: Wron Block-Insert (p)

2006-12-06 Thread A.J.Mechelynck
Thomas Michael Engelke wrote: 2006/12/6, A.J.Mechelynck [EMAIL PROTECTED]: Thomas Michael Engelke wrote: Hello, I have found an oddity in vim which I'm not sure is a bug and/or known. I have yanked a visual block of some lines of code and try to put it in somewhere else. There a strange

Re: Patched VIM 7.0 reboots Windows 2000 on forced write to read-only file (?)

2006-12-06 Thread A.J.Mechelynck
Paul Stone wrote: Further clarification -- I went to the Cream web page because the VIM Downloads page links there as a way of getting a fully patched version of VIM for the PC: http://www.vim.org/download.php#pc For the latest version with all patches included see Cream below. These versions

Re: Patched VIM 7.0 reboots Windows 2000 on forced write to read-only file (?)

2006-12-06 Thread A.J.Mechelynck
Alan Isaac wrote: On Wed, 6 Dec 2006, Paul Stone wrote: I went to the Cream web page because the VIM Downloads page links there as a way of getting a fully patched version of VIM for the PC Can this be installed over the previous Vim 7, or do I need to uninstall first? (Windows.) Thank

Re: Patched VIM 7.0 reboots Windows 2000 on forced write to read-only file (?)

2006-12-06 Thread A.J.Mechelynck
Paul Stone wrote: [...] :!attrib works fine for me. :w! causes the reboot (with read-only file). Normally, :w! should overwrite a read-only file. Paul Stone Strange... Do you have the W flag in 'cpoptions' ? Best regards, Tony.

Re: Vim Online Error ?

2006-12-06 Thread A.J.Mechelynck
Swaroop C H wrote: Hello all, When I visit the link http://www.vim.org/scripts/script.php?script_id=273 , I see the following error : script:Can't open file: 'vs_scripts.MYI' (errno: 145) , is anybody else facing the same issue? Thanks! Yes, and both at www.vim.org and at

Re: Esc2G works erratically

2006-12-07 Thread A.J.Mechelynck
Yakov Lerner wrote: I have problem when Esc2G, that is, when 123G immediately follows Esc. It either goes to end of file, or stays in place (ignores). I could not track it to some specific setting yet, but the problem does not appear with 'vim -u NONE', I do not have mapping for numbers, nor

Re: how to move cursor to virtcol

2006-12-07 Thread A.J.Mechelynck
Yakov Lerner wrote: I'm making small script where I'd like to position cursor horizontally by the screen position v (*virtual* column as returned by virtcol() ). I found following functions: cursor() 23| normal-mode command setpos() winrestview() but they all seem

Re: www.vim.org partially unreachable

2006-12-08 Thread A.J.Mechelynck
Fritz Mehner wrote: For at least 1 day the script section of www.vim.org seems to be unreachable: Recent Script Updates 0 scripts, 0 downloads 'more recent' shows no script, 'most downloaded' and 'top rated' show an error: *Vim Online Error* Can't open file: 'vs_scripts.MYI' (errno:

Re: Manpageviewer problem

2006-12-08 Thread A.J.Mechelynck
Guido Van Hoecke wrote: [...] However, when I open man output with vim or gvim, the rightmost quote displays as a plain single quote (hex 27), the leftmost quote displays as three characters, 'â' '80' and '98'. A word-splitting hyphen in the rightmost column of lines is displayed as three

Re: cindent weirdness

2006-12-08 Thread A.J.Mechelynck
Tobias Pflug wrote: Hi, I am having some problems with cindent. I was busy coding when suddenly indenting stopped working. cindent is set (echo cindent - 1). The odd thing is that it only stopped working on one buffer. How does that make sense? After I closed the buffer and reopened the

Re: Manpageviewer problem

2006-12-08 Thread A.J.Mechelynck
Charles E Campbell Jr wrote: A.J.Mechelynck wrote: Guido Van Hoecke wrote: [...] However, when I open man output with vim or gvim, the rightmost quote displays as a plain single quote (hex 27), the leftmost quote displays as three characters, 'â' '80' and '98'. A word-splitting hyphen

Re: search within buffers

2006-12-08 Thread A.J.Mechelynck
Ben K. wrote: Hi, Is there a way to do grep only within the open files (buffers)? I did :he grep and bufdo but it didn't seem to give me the option. Thanks. Ben K. Developer http://benix.tamu.edu All the following is for Vim version 7 ONLY. To grep in all files named on the vim

Re: search within buffers

2006-12-08 Thread A.J.Mechelynck
Ben K. wrote: Thanks. By the way I'm seeing this error when I open the url: script:Can't open file: 'vs_scripts.MYI' (errno: 145) I guess it's from some maintenance work on mysql, but just in case. The scripts section at vim-online is offline or broken down since yesterday. AFAIK, they

Re: em-brace-ing shell variables

2006-12-08 Thread A.J.Mechelynck
Meino Christian Cramer wrote: Hi, in the beginning I often wrote shell scripts, which uses $variable instead of the better ${variable} . So I would like to write a short vim script which inserts the {} around the name of the variable. It should work, when the cursor is

Re: cindent weirdness

2006-12-09 Thread A.J.Mechelynck
Tobias Pflug wrote: Looks lika a misbehaving sript. In the problem buffer (if and when the error reappears): :verbose setlocal cindent? cinoptions? indentexpr? - 'cinoptions' influences how 'cindent' works - if 'indentexpr' is nonempty, it overrules 'cindent'. :verbose will tell you

Re: Does automated line unwrap exist?

2006-12-09 Thread A.J.Mechelynck
Matt England wrote: I frequently use automated line wrap (eg, 'wrapmargin', fmt(1) integration, etc) to write documents (like asciidoc sources) in vim. I'd like to use an automated unwrap feature. Does such a thing exist in vim? Or a unix/linux command primitive I can integrate (similar to

Re: Mouse to position cursor

2006-12-09 Thread A.J.Mechelynck
Mayur Pant wrote: Hi, I may be shunned from the vim console using community for asking this,but, is there anyway to simulate the behaviour of gvim from the console, ie. left click to position the cursor to a point within the text, right click to select blocks of it,

Re: Mouse to position cursor

2006-12-09 Thread A.J.Mechelynck
Mayur Pant wrote: Hi, thanks for that: I checked, and it's set to mouse =ar mousemodel = extend, but click at a position still doesn't not move the block cursor position; although triple clicking selects the word... any idea what the issue could be? thanks,

Re: problem with vim.sf.net

2006-12-11 Thread A.J.Mechelynck
Aaron Griffin wrote: On 12/7/06, A.J.Mechelynck [EMAIL PROTECTED] wrote: Just for the record, see thread Vim Online Error started by Swaroop C H some 10 hours before this thread. 4 days later, this is still broken. Does anyone have access to the main web site? Not me anyway

Re: vim-display problem?!

2006-12-12 Thread A.J.Mechelynck
mbbill wrote: Hello Matthew, Tuesday, December 12, 2006, 5:00:30 PM, you wrote: ?On Mon, 11 Dec 2006 19:00:27 +0800, [EMAIL PROTECTED] wrote: ?No, this is not a problem. This is a feature... ;-) ?It's not even a feature. It's the right way of doing things. ?The character (or

Re: auto complete function of the tab does not work

2006-12-13 Thread A.J.Mechelynck
Steven Woody wrote: i just installed a 7.0 of vim on windows. i remembered, in the previous version, when i need to open a file using the ':ed' command, i can press tab after giving first few characters of the file ( or path ), vim would auto complete the reset. but after i installed the new

Re: Making C-] do something different

2006-12-13 Thread A.J.Mechelynck
Chuck Mason wrote: In source code, C-] follows a tags file. In :help it follows links (Maybe there's a helptags file?). But I've created a new temp buffer from some vim code and I want C-] to do something different for only this buffer. For instance I have a line that looks like: ...

Re: auto complete function of the tab does not work

2006-12-13 Thread A.J.Mechelynck
Steven Woody wrote: On 12/14/06, A.J.Mechelynck [EMAIL PROTECTED] wrote: Steven Woody wrote: i just installed a 7.0 of vim on windows. i remembered, in the previous version, when i need to open a file using the ':ed' command, i can press tab after giving first few characters of the file

Re: auto complete function of the tab does not work

2006-12-13 Thread A.J.Mechelynck
Steven Woody wrote: On 12/14/06, A.J.Mechelynck [EMAIL PROTECTED] wrote: Steven Woody wrote: On 12/14/06, A.J.Mechelynck [EMAIL PROTECTED] wrote: Steven Woody wrote: i just installed a 7.0 of vim on windows. i remembered, in the previous version, when i need to open a file using

Re: grep and regular expression

2006-12-14 Thread A.J.Mechelynck
Dan Mergens wrote: Vim does not use strict regular expressions and grep does not use regular expressions for pattern matching. The regular expression 'class\s*\w\+{' would have to match something like this: class ALPHAJunk+{ which I don't think is representative of any class declaration

Re: Fresh builds for Windows

2006-12-17 Thread A.J.Mechelynck
Yongwei Wu wrote: On 12/17/06, Meino Christian Cramer [EMAIL PROTECTED] wrote: where can I get recent builds (vim-7.0.178) for Windows ? http://wyw.dcweb.cn/#download Unkown host wyw.dcweb.cn Best regards, Tony.

Re: Line breaks at cursor

2006-12-19 Thread A.J.Mechelynck
David Woodfall wrote: Presently I'm using :set tw=N and gq to break lines at N position. But is there a way to break lines at cursor position? If there is no easy way perhaps it could made into a function/macro? To break the line at the cursor, hit the Enter key in Insert mode, as with any

Re: utf-8 problem with set listchars=tab:»· ,trail:·

2006-12-19 Thread A.J.Mechelynck
Yakov Lerner wrote: I have 'set listchars=tab:»·,trail:·' in my vimrc (or equivalent set listchars=tab:\xbb\xb7,trail:\xb7). I also have scriptencoding latin1. When I have enc=utf8, this works in gvim. But in console vim, when I set encoding to utf8 in konsole, these »· characters are not see,

Re: restoring position after :g//p command, problem

2006-12-19 Thread A.J.Mechelynck
Yakov Lerner wrote: I made a mapping that does g//p for the current word nmap f2 :exe 'g/\'.expand('cword') . '\/#'cr This works, but I want it to restore the original position: nmap f2 ms:exe 'g/\'.expand('cword') . '\/#'cr's This does not work, because 's clears the output. It is

Re: utf-8 problem with set listchars=tab:»· ,trail:·

2006-12-19 Thread A.J.Mechelynck
Yakov Lerner wrote: On 12/19/06, A.J.Mechelynck [EMAIL PROTECTED] wrote: Yakov Lerner wrote: I have 'set listchars=tab:»·,trail:·' in my vimrc (or equivalent set listchars=tab:\xbb\xb7,trail:\xb7). I also have scriptencoding latin1. When I have enc=utf8, this works in gvim. But in console

Re: adding commented output

2006-12-19 Thread A.J.Mechelynck
Ivan F. Villanueva B. wrote: Hello vimers, I'm restarting learning groovy, a kind of scripting language for java I have something like: #!/usr/local/java/groovy/bin/groovy println ( [a,b]*.length() ) println ( [String, File, List].'package'.name ) And would like to introduce in the

Re: Remember where I left off

2006-12-19 Thread A.J.Mechelynck
Jason Morehouse wrote: Heya, I recall at one point, Vim would remember where I left off in a file, and place me back there when I started. I don't think it's worked since I switch to 7, and don't recall the vimrc setting. Any ideas? Thanks, -J Method I (recommended) Make sure

Re: Making C-] do something different

2006-12-19 Thread A.J.Mechelynck
Jean-Rene David wrote: * Chuck Mason [2006.12.13 17:15]: In :help it follows links (Maybe there's a helptags file?). Bingo. :h helptags [...] For instance I have a line that looks like: ... sometext somenumber1 someothertext2 And if the user presses C-] anywhere on the line I would like

Re: multi-mark

2006-12-21 Thread A.J.Mechelynck
Yakov Lerner wrote: Hello, I am looking for the multi-marks plugin. I want to mark multilpe lines (not with 'a,'b,'c, but with some kind of mark that can mark multiple lines), then cycle through the marked lines. Even better, if marked lines are visually marked, too, with signs or highlight.

Re: set number indentation

2006-12-21 Thread A.J.Mechelynck
I.B. wrote: Hi, does anyone know how to change indentation of line numbering (set nu)? tabstop and shiftwidth do nothing about it. thanx a lot ~igRek The 'numberwidth' or 'nuw' option defines the _minimum_ width of the column of line numbers (including the blank spacer between numbers and

Re: Learning the vim Programming

2006-12-21 Thread A.J.Mechelynck
dong wang wrote: I have been using vim since three years ago . Vim gives me happy and sometimes agony^_^ Been there done that. ;-) i Just want to leaning more about the vim programming. Good! But the vim doc which can be called out via help XXX is more like a dictionary rather than a

Re: Keep netrw buffers around

2006-12-23 Thread A.J.Mechelynck
Guido Van Hoecke wrote: Hi, I would like my netrw buffers to behave as normal buffers, rather than automagically disappear when one selects a file to edit from these buffers. That would mean that I could :bd the edited file, and automatically return to the netrw buffer to select another file

Re: 2html dos/unix filetype

2006-12-26 Thread A.J.Mechelynck
Mojca Miklavec wrote: Hello, two of us are experimeting with using vim as an external syntax-highlighter for TeX documents. This file resulted from adapting 2html.vim: http://pub.mojca.org/tex/vim/syntax/2context.vim Here's how vim is called now: vim -u NONE -e -V10log

Re: 2html dos/unix filetype

2006-12-26 Thread A.J.Mechelynck
Mojca Miklavec wrote: Hello, two of us are experimeting with using vim as an external syntax-highlighter for TeX documents. This file resulted from adapting 2html.vim: http://pub.mojca.org/tex/vim/syntax/2context.vim Here's how vim is called now: vim -u NONE -e -V10log

Re: 2html dos/unix filetype

2006-12-26 Thread A.J.Mechelynck
Mojca Miklavec wrote: On 12/26/06, Yongwei Wu wrote: Maybe try :help 'fileformats' :setg fileformats? I've read the help page, but I don't manage to deduce a solution out of it. Without -u NONE it works OK, but if I say vim -u NONE -c set fileformats=unix,dos filename it diesn't really

Re: confused by % behavior

2006-12-26 Thread A.J.Mechelynck
Kamaraju Kusumanchi wrote: Hi I have two vim installations. One is on Debian Etch, vim 7.0-122. The other one is Redhat 7.3, vim 7.0. On Debian I am using the distribution provided vim packages. On Redhat, I compiled vim 7.0 myself. Both machines have the same .vim, .vimrc, .gvimrc etc.,

Re: confused by % behavior

2006-12-27 Thread A.J.Mechelynck
Kamaraju Kusumanchi wrote: On Wednesday 27 December 2006 02:06, A.J.Mechelynck wrote: Kamaraju Kusumanchi wrote: Hi I have two vim installations. One is on Debian Etch, vim 7.0-122. The other one is Redhat 7.3, vim 7.0. On Debian I am using the distribution provided vim packages. On Redhat

Re: 2html dos/unix filetype

2006-12-27 Thread A.J.Mechelynck
Martin Krischik wrote: Am 26.12.2006, 21:13 Uhr, schrieb A.J.Mechelynck [EMAIL PROTECTED]: So here are the cases where you will see lines ending in ^M : - File has mixed fileformat, with some lines ending in CRLF and others ending in LF only. - All lines end in CRLF but some have a second

Re: perl x modifier regex ?

2006-12-28 Thread A.J.Mechelynck
Marc Chantreux wrote: hi all, Is there a way to obtain the perl x modifier behaviour in vim regex (spaces are non significants, comments are allowed). This is very usefull to make a regexp more readable. regards mc You can always add one or more lines of comments above or below the line

Re: HTML files don't auto indent, everything else does

2006-12-28 Thread A.J.Mechelynck
thesheep wrote: For some reason the auto-indent features aren't working with HTML source files (and I want them to). I've tried these: :filetype indent on :set autoindent I've also tried all these kinds of things: :set shiftwidth=2 :set softtabstop=2 And then doing 'gg=G' to auto indent.

Re: Is the mailing list subscription mechanism broken?

2006-12-28 Thread A.J.Mechelynck
Gregory Margo wrote: I've been trying to subscribe to both the vim vim-dev mailing lists from a different address (to escape the extremely unreliable pacbell/sbc/att mail servers). I get a confirmation message back right away, but after replying to that, I never receive either a welcome to

Re: i_CTRL-Y on Windows

2006-12-29 Thread A.J.Mechelynck
[EMAIL PROTECTED] wrote: Try to see if you sourced mswin.vim somewhere. (it may be in your .vimrc, or $VIMRUNTIME/vimrc_example.vim, or anywhere in the $VIM.) An easy way may be: delete the mswin.vim file, restart vim and the script souceing that file will report an error, then you'll know

Re: automatic code completion in vim

2006-12-29 Thread A.J.Mechelynck
zhengda wrote: Hello, I hope vim can run automatically a completion after a '.', '-' or '::' when I write c++ program. I know omnicppcomplete plugin can do this job. But omnicppcomplete needs tag database. So if I want omnicppcomplete to tell me members of a class, I have to keep updating

[Fwd: Re: automatic code completion in vim]

2006-12-30 Thread A.J.Mechelynck
Original Message Subject: Re: automatic code completion in vim Date: Sat, 30 Dec 2006 14:46:54 +0100 From: zhengda [EMAIL PROTECTED] To: A.J.Mechelynck [EMAIL PROTECTED] References: [EMAIL PROTECTED] [EMAIL PROTECTED] A.J.Mechelynck wrote: zhengda wrote: Hello, I hope vim

Re: after upgrading, old version's help is showed. how shoud i do?

2006-12-30 Thread A.J.Mechelynck
neutrinman wrote: I upgraded to vim70 from vim63. But when I ran vim 70 and used :h command, help of old version vim63 was showed. To show new help file, what should i do? Unset $VIMRUNTIME (outside of Vim). Normally Vim is clever enough to find its runtime files. Even setting $VIM outside

Re: Wrapping a selection in tags

2006-12-31 Thread A.J.Mechelynck
Rory Campbell-Lange wrote: I'd like to: 1. Select some text 2. Hit a key sequence such as ;t 3. Be prompted for a tag (I'll input something like 'b' or 'h1') 4. The text selection will be wrapped in -- say -- btext selection/b What doesn't work so far: map ;t

Re: Enclosing current line in HTML tags

2006-12-31 Thread A.J.Mechelynck
Robert MannI wrote: Hello! What's the quickest way to enclose the current line the cursor is on in, say, li/li tags? Thank you, Rob I suggest :s/^.*$/li\0\/li/ which can be mapped to a key. This method lends itself to adding an arbitrary tag (in a script, with the tag in a

Re: automatic code completion in vim

2007-01-01 Thread A.J.Mechelynck
Mikolaj Machowski wrote: Dnia pon sty 1 2007, napisałeś: remove() doesn't accept regexps only indexes. To remove offending lines use filter():: call filter(alltags, v:val !~ fname) I've made some tests and on big tags files it can be slow. The fastest method is:: let alltags

Re: cvim

2007-01-01 Thread A.J.Mechelynck
spx2 wrote: hello. i just installed cvim but \lcs and \ucs work perfectly but \ce or \cn or any other \xx stuff or \xxx stuff don't work at all. what do i do ? What is cvim? Best regards, Tony.

Re: Any way of getting statusline=%B in insert mode?

2007-01-02 Thread A.J.Mechelynck
DervishD wrote: Hi all, and happy new year! I have %B in my status line, but it doesn't work in insert mode, only on normal and visual mode. At first I thought that the status line wasn't being evaluated while in insert mode, but the line and column numbers change correctly, so it *is*

Re: enable perl

2007-01-02 Thread A.J.Mechelynck
Jorge Almeida wrote: Quoting the Makefile: # - Uncomment one or more of these lines to include an interface; # each makes Vim quite a bit bigger: # --enable-perlinterp for Perl interpreter # --enable-pythoninterp for Python interpreter #

Re: Syntax highlighting

2007-01-02 Thread A.J.Mechelynck
cupaxe wrote: Is there a way to have different (see below) syntax highlighting for different portions of a file? What I am interested in knowing is whether there exists a meta file format (say multisyn) which highlights different portions of a file with syntax corresponding to that portion.

Re: Any way of getting statusline=%B in insert mode?

2007-01-03 Thread A.J.Mechelynck
DervishD wrote: [...] Of course, but given that even in the GUI version the problem happens (I thought that the bar was in between characters, and not at the 25% leftmost position), I'm inclined to think it is a bug and not a feature. Specially because it is a bit annoying, when moving

Re: Insert mode navigation with the arrow keys

2007-01-03 Thread A.J.Mechelynck
Michael Hernandez wrote: * Viktor Kojouharov [EMAIL PROTECTED] dixit: With the upgrade to vim 7, I am no longer able to navigate in insert mode with the arrow keys. This happens in any terminal. In gvim, they work fine. Instead of moving the cursor, the arrow keys do something

Re: HTML files don't auto indent, everything else does

2007-01-03 Thread A.J.Mechelynck
thesheep wrote: OK now I see that 'autoindent' *is* working, in accordance with the help page, in the sense that each new line copies the left indentation from the line above it. But I was hoping for something that automatically indents all the code intelligently, according to the html tags.

Re: Questions about syntax highlight script.

2007-01-04 Thread A.J.Mechelynck
[EMAIL PROTECTED] wrote: Hi vimmers, I've got some question when writing my syntax highlight script. Q1. The language requires a ^M character as a keyword. The ^M character is by default highlighted but I want to highlight it to some other color, at least it should be different from ^L and

Re: Questions about syntax highlight script.

2007-01-04 Thread A.J.Mechelynck
[EMAIL PROTECTED] wrote: A.J.Mechelynck [EMAIL PROTECTED] wrote on 2007-01-04 18:18:39: [EMAIL PROTECTED] wrote: Hi vimmers, I've got some question when writing my syntax highlight script. Q1. The language requires a ^M character as a keyword. The ^M character is by default highlighted

Re: automatic code completion in vim

2007-01-04 Thread A.J.Mechelynck
Zheng Da wrote: On 1/4/07, Vissale NEANG [EMAIL PROTECTED] wrote: It's because your tag file is not sorted correctly, the last tag main should be the first tag in the file. The script does a tag binary search and the tags file must be sorted to work properly (:help tag-binary-search). Best

Re: automatic code completion in vim

2007-01-04 Thread A.J.Mechelynck
Zheng Da wrote: [...] By the way, how to compile vim with python. I run ./configure --enable-pythoninterp After I compiled vim and installed it, vim --version|grep python still shows -python +quickfix +reltime -rightleft -ruby +scrollbind +signs +smartindent In order to be able to compile Vim

Re: How to map arrow keys

2007-01-04 Thread A.J.Mechelynck
Zheng Da wrote: Hi, everyone How to map an arrow key in the normal mode? I tried nmap left i-ESC Actually, it doesn't work even though running this mapping command doesn't give any error messages. WFM VIM - Vi IMproved 7.0 (2006 May 7, compiled Dec 5 2006 22:18:11) Included patches: 1-178

Re: .vimrc from URL

2007-01-04 Thread A.J.Mechelynck
Maurí­cio wrote: Hi, I change my .vimrc very often, and I use vim in many computers. The result is that my changes are not always updated to all computers. Is it possible to ask vim to update its .vimrc from an URL, like an FTP address? Thanks, Maurício The vimrc is sourced before

Re: How to map arrow keys

2007-01-04 Thread A.J.Mechelynck
Zheng Da wrote: On 1/4/07, A.J.Mechelynck [EMAIL PROTECTED] wrote: Zheng Da wrote: On 1/4/07, A.J.Mechelynck [EMAIL PROTECTED] wrote: WFM VIM - Vi IMproved 7.0 (2006 May 7, compiled Dec 5 2006 22:18:11) Included patches: 1-178 Compiled by [EMAIL PROTECTED] Huge version with GTK2-GNOME

Re: .vimrc from URL

2007-01-04 Thread A.J.Mechelynck
Mikolaj Machowski wrote: On pią sty 5 2007, Maurí­cio wrote: Or else, have the following at the top of the vimrc: let g:vimrcdate = 4 Jan 2007 22:49 UTC echo This vimrc was last changed on g:vimrcdate if input(Do you want to continue? ) !~? y

Re: .vimrc from URL

2007-01-04 Thread A.J.Mechelynck
Mikolaj Machowski wrote: On pią sty 5 2007, Mikolaj Machowski wrote: Mikolaj Machowski wrote: On pią sty 5 2007, Maurí­cio wrote: Or else, have the following at the top of the vimrc: let g:vimrcdate = 4 Jan 2007 22:49 UTC echo This vimrc was last changed on

[Fwd: Re: .vimrc from URL]

2007-01-05 Thread A.J.Mechelynck
Forwarding to list. Original Message Subject: Re: .vimrc from URL Date: Fri, 5 Jan 2007 13:12:41 +0200 From: Albie Janse van Rensburg [EMAIL PROTECTED] To: A.J.Mechelynck [EMAIL PROTECTED] References: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED

Re: :sort by date

2007-01-05 Thread A.J.Mechelynck
Gary Johnson wrote: On 2007-01-05, Erlend Hamberg [EMAIL PROTECTED] wrote: On Friday 05 January 2007 15:47, striker wrote: I have a text file in the format: 01/04/2007,field1,field2,field3 01/03/2007,field1,field2,field3 12/30/2006,field1,field2,field3 etc... I need to sort by date, but the

Re: map the arrow keys

2007-01-05 Thread A.J.Mechelynck
Rui Gonçalves wrote: is possible change the meaning of key combination shiftleft-arrow to go to begin of line in insert mode? thanks :map!S-LeftHome Best regards, Tony.

Re: help with multi environment vim on xp

2007-01-05 Thread A.J.Mechelynck
Marc Bernstein wrote: I have cygwin and xp needs for editing files on xp. In addition most of the scripts I edit are destined for use on unix and possibly windows as well (Perl).brbrAfter extensive search I am still looking for a cogent explanation about how best to setup the xp environment for

Re: map the arrow keys

2007-01-05 Thread A.J.Mechelynck
Rui Gonçalves wrote: On 1/5/07, A.J.Mechelynck [EMAIL PROTECTED] wrote: Rui Gonçalves wrote: is possible change the meaning of key combination shiftleft-arrow to go to begin of line in insert mode? thanks :map!S-LeftHome Best regards, Tony. I forgot... i use MacOSX

Re: map the arrow keys

2007-01-05 Thread A.J.Mechelynck
Rui Gonçalves wrote: is possible change the meaning of key combination shiftleft-arrow to go to begin of line in insert mode? :map!S-LeftHome I forgot... i use MacOSX. in MacOSX the Home key doesn' t work that way. In Vim the Home key works that key. Maybe not

Re: map the arrow keys

2007-01-05 Thread A.J.Mechelynck
Rui Gonçalves wrote: Ah. This means (apparently) that Vim doesn't properly recognise your Shift-Left key combo. This could mean either that the keys are not passed to it, or that the termcap/terminfo entry is bad. Are you using gvim (with its graphical display) or Console Vim (within the

Re: help with multi environment vim on xp

2007-01-05 Thread A.J.Mechelynck
Marc Bernstein wrote: Thanks so much! I have a few specific startup env questions. If I am going to use the gvim that comes with cygwin for cygwin command prompt, I presume all I need to do is put .vim and the antecedent files in my home directory. To keep things simple, I would of course set

Re: Vim and Unicode supplementary chars

2007-01-06 Thread A.J.Mechelynck
LandSurveyor wrote: Your secret to success is 'digraphs'. Vim provides its' own method of displaying many special characters. While in vim, type :help digraphs-and enjoy! -Original Message- From: Kenneth Reid Beesley [EMAIL PROTECTED] Sent: Jan 6, 2007 12:30 AM To: vim@vim.org

<    4   5   6   7   8   9   10   11   12   13   >