Re: documentation mistake regarding cuc/cul

2006-05-22 Thread A.J.Mechelynck
[EMAIL PROTECTED] wrote: All, In the options.txt file of Vim documentation... Options 'cursorcolumn' and 'cursorline' are said to be local to window. Given their behavior, it should say local to buffer rather than local to window. However, when thinking some more about this, maybe the

[Fwd: Re: Fwd: keymap for Romanian?]

2006-05-22 Thread A.J.Mechelynck
Hi Vimmers, I got the attached mail privately but I believe it belongs on the list. Best regards, Tony. ---BeginMessage--- On 5/21/06, A.J.Mechelynck [EMAIL PROTECTED] wrote: Alexandru Iancu wrote: Hi, I posted the wrong files. I realised later after I posted while testing. Sorry! Regards,

Short file name (Filename) not retained in Windows (XP)

2006-05-22 Thread steven bensky
Short file name (Filename) is not being retained in Windows (XP). VIM - Vi IMproved 7.0 (2006 May 7, compiled May 7 2006 16:18:30) Don't know if this is a bug per say, but, ... --- Create a new file with a long filename. vim this_is_a_test Save the file. List the directory using the /x

Patch: Make_mvc.mak creates an empty gvim.exe.mnf file

2006-05-22 Thread Mathias Michaelis
Patch Problem:Make_mvc.mak creates an empty gvim.exe.mnf file (or stops with an error message). (Suresh Govindachar) Solution: Don't use 'echo' to create files. Use inline files instead. Files: src/Make_mvc.mak *** ..\vim-7.0.000\src\Make_mvc.mak 2006-05-07

Re: Short file name (Filename) not retained in Windows (XP)

2006-05-22 Thread A.J.Mechelynck
steven bensky wrote: Short file name (Filename) is not being retained in Windows (XP). VIM - Vi IMproved 7.0 (2006 May 7, compiled May 7 2006 16:18:30) Don't know if this is a bug per say, but, ... --- Create a new file with a long filename. vim this_is_a_test Save the file. List the

Re: Visual Block: $ vs. ^ inconsistency?

2006-05-22 Thread Matthew Winn
On Fri, May 19, 2006 at 07:47:41AM -0700, Suresh Govindachar wrote: In visual block mode (C-V) one can get jagged right edges by hitting $. But hitting ^ does not result in jagged left edges. Why the inconsistency? Is it something in my set-up? It's probably inconsistent because

Re: folding at squiggly brace level (javascript)

2006-05-22 Thread Kae Verens
Gerald Lai wrote: On Fri, 19 May 2006, Kae Verens wrote: Hi guys, with vim 6.3, I was able to nest folds using '{' and '}' as the delimiters (as seen here: http://verens.com/archives/2005/04/18/using-javascript-folds-in-vim/) Unfortunately, 6.4 doesn't like my attempts to do so. I can get

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: cmapping woes

2006-05-22 Thread Eric Arnold
On 5/21/06, Yakov Lerner [EMAIL PROTECTED] wrote: On 5/22/06, Eric Arnold [EMAIL PROTECTED] wrote: I've been trying to map cd if it's the first two characters on the :ex line. I've tried all the combinations I can think of. On several of them, I seem to be getting errors as if expr is run

Re: cmapping woes

2006-05-22 Thread Eric Arnold
On 5/21/06, Hari Krishna Dara [EMAIL PROTECTED] wrote: On Sun, 21 May 2006 at 3:12pm, Eric Arnold wrote: I've been trying to map cd if it's the first two characters on the :ex line. I've tried all the combinations I can think of. On several of them, I seem to be getting errors as if expr

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: cmapping woes

2006-05-22 Thread Yakov Lerner
On 5/22/06, Eric Arnold [EMAIL PROTECTED] wrote: On 5/21/06, Yakov Lerner [EMAIL PROTECTED] wrote: On 5/22/06, Eric Arnold [EMAIL PROTECTED] wrote: I've been trying to map cd if it's the first two characters on the :ex line. I've tried all the combinations I can think of. On several of

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

2006-05-22 Thread Charles E Campbell Jr
Matthias Pitzl wrote: 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? Hello! There's a number of ways to go

FW: external.exe for OS X

2006-05-22 Thread Furash Gary
One of the best utilities ever is the external exe thing that lets you copy text any windows app to a vim screen, then saves the result back - letting you use vim everywhere. Is there a similar tool for OSX? G Gary Furash, MBA, PMP, Applications Manager Maricopa County Attorney's Office

FW: Vimspell on mac problems

2006-05-22 Thread Furash Gary
My vimspell with 7.0 seems to work okay on the mac os x at first - it shows words with problems, but if I right click and pick a replacement word it crashes. Gary Furash, MBA, PMP, Applications Manager Maricopa County Attorney's Office

Re: How do I make html autocompletion work?

2006-05-22 Thread Mikolaj Machowski
Dnia poniedziaƂek, 22 maja 2006 09:56, victor NOAGBODJI napisaƂ: 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... It should be activated automatically as soon as filetype

Re: cmapping woes

2006-05-22 Thread Yakov Lerner
On 5/22/06, Eric Arnold [EMAIL PROTECTED] wrote: Eric, this works for me: -- cnoremap xx c-r=getcmdpos()==1?MyFunc():'xx'cr function! MyFunc() call feedkeys(:call DoIt()\cr, 't') return '' endfu And DoIt() is executed not in sandbox. Does this work for you ? Yakov

Re: cmapping woes

2006-05-22 Thread Eric Arnold
On 5/22/06, Yakov Lerner [EMAIL PROTECTED] wrote: On 5/22/06, Eric Arnold [EMAIL PROTECTED] wrote: Eric, this works for me: -- cnoremap xx c-r=getcmdpos()==1?MyFunc():'xx'cr function! MyFunc() call feedkeys(:call DoIt()\cr, 't') return '' endfu And DoIt() is

RE: FW: Vimspell on mac problems

2006-05-22 Thread Furash Gary
Whoops, I should have clarified. I'm using the built-in spell checker that comes with 7.

Re: Vim for Palm

2006-05-22 Thread Marv Boyes
In terms of power beyond just editing, you can't do any better on Palm than pedit (http://www.osuweb.net/~pc/pedit/man/pedit_man.html). Scriptable and as feature-rich as Palm apps come. It's only vim-like in terms of its power. If you'd rather go the free route, there's SiEd

weird issue with :put

2006-05-22 Thread Hari Krishna Dara
In a Vim7 session, after working for sometime, I started getting a weird error, when one of my plugins did the below: :put= and the error was: E121: Undefined variable: retVal E15: Invalid expression: retVal After making sure that - there are no CursorMoved and CursorMovedI events that could

Re: weird issue with :put

2006-05-22 Thread James Vega
On Mon, May 22, 2006 at 02:11:49PM -0700, Hari Krishna Dara wrote: In a Vim7 session, after working for sometime, I started getting a weird error, when one of my plugins did the below: :put= This is the same as using: :put = Double quotes are Vim's comment character so you either need

Re: weird issue with :put

2006-05-22 Thread Hari Krishna Dara
On Mon, 22 May 2006 at 5:45pm, James Vega wrote: On Mon, May 22, 2006 at 02:11:49PM -0700, Hari Krishna Dara wrote: In a Vim7 session, after working for sometime, I started getting a weird error, when one of my plugins did the below: :put= This is the same as using: :put =

Re: SNR, maparg(), and UTF-8

2006-05-22 Thread Luc Hermitte
Hello, * On Wed, May 17, 2006 at 08:13:05PM +0200, A.J.Mechelynck [EMAIL PROTECTED] wrote: The problem has existed for a long time. The iconv() workaround works correctly with vim 7.0.012 on linux, but not with vim 7.0.000 (default win32 build) on windows. Do you have +iconv or

Re: Tables.

2006-05-22 Thread cga2000
On Sat, May 20, 2006 at 04:08:01PM EDT, Thomas Adam wrote: --- Hari Krishna Dara [EMAIL PROTECTED] wrote: It is a text browser like lynx, but does a better job of formatting tables and others. From my man page, the homepage should be: Of which I find 'Elinks' to do an even better job. As

Re: Tables.

2006-05-22 Thread Hari Krishna Dara
On Tue, 23 May 2006 at 12:51am, cga2000 wrote: On Sat, May 20, 2006 at 04:08:01PM EDT, Thomas Adam wrote: --- Hari Krishna Dara [EMAIL PROTECTED] wrote: It is a text browser like lynx, but does a better job of formatting tables and others. From my man page, the homepage should be:

Re: Tables.

2006-05-22 Thread cga2000
On Sat, May 20, 2006 at 12:09:20AM EDT, Hari Krishna Dara wrote: [..] If you have links installed, you can do this easily with the -dump option. Here is a quick idea: function! HtmlToTxt() write let filename = expand('%') pedit %.txt wincmd p setl bufhidden=delete