Re: cmapping woes

2006-05-22 Thread Hari Krishna Dara
On Mon, 22 May 2006 at 4:07am, Eric Arnold wrote: > 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

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 bufhid

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

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 j

Re: , 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

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

Re: Printing on paper

2006-05-22 Thread A.J.Mechelynck
Robert Cussons wrote: Hi all, sorry if this is blindingly obvious to all but me but I am having some problems printing from vim. I looked under :help print and the harcopy section and I can get what I want to print to the correct printer. I have syntax highlighting on (I was printing some C c

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

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: 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 (http://benroe.com/

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.

Vim for Palm

2006-05-22 Thread Furash Gary
There used to be a build but I haven't found anything recently. Does anyone know of a vim or vi like thing available for palms?

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 =getcmdpos()==1?MyFunc():'xx' function! MyFunc() call feedkeys(":call DoIt()\", 't') return '' endfu And DoIt() is executed

Printing on paper

2006-05-22 Thread Robert Cussons
Hi all, sorry if this is blindingly obvious to all but me but I am having some problems printing from vim. I looked under :help print and the harcopy section and I can get what I want to print to the correct printer. I have syntax highlighting on (I was printing some C code) and this seems to

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 =getcmdpos()==1?MyFunc():'xx' function! MyFunc() call feedkeys(":call DoIt()\", 't') return '' endfu And DoIt() is executed not in sandbox. Does this work for you ? Yakov

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 filety

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

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

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

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 abo

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

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: - no

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 i

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 is

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

How do I make html autocompletion work?

2006-05-22 Thread victor NOAGBODJI
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

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 () 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 no