Pass vim variable to ruby function

2007-06-05 Thread Akbar
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

Re: match html tag

2007-03-14 Thread Akbar
On 3/14/07, A.J.Mechelynck <[EMAIL PROTECTED]> wrote: matchit. It is distributed with Vim but not installed by default, because it conflict with the "vi" use of the % key. To install it, use the following shell commands in an xterm or Dos Box: - On Unix/Linux: cd $HOME mkdir -v

Re: match html tag

2007-03-13 Thread Akbar
of it, you need to enable the matchit plugin. See :help matchit Regards Albie Akbar wrote: > Hi, > > I have this part of html file: > > haha > > > The cursor is in first line (the opening div). When I hit certain key, > the cursor will go to the third line (the clo

match html tag

2007-03-13 Thread Akbar
Hi, I have this part of html file: haha The cursor is in first line (the opening div). When I hit certain key, the cursor will go to the third line (the closing div). There is a script to achieve this. I just forgot the name. Could you tell me the name? Thank you.

click buffer, go to the buffer place

2006-11-06 Thread Akbar
Hi, in my single session, I have many tabs opened, and in one tabs, I often open three windows or more. That means I have many many buffers. Sometimes I want to edit one buffer that I don't know where it is ( in where tab, or in where window ), so I just have to search by iterating from tab to tab

Re: ruby indentation

2006-10-19 Thread Akbar
On 10/20/06, A.J.Mechelynck <[EMAIL PROTECTED]> wrote: Akbar wrote: > Hi, I use vim7 ( compiled from source ) > > This is my situation: > open bla.rb > > def bla ( type def bla, enter ) > print "bla"( type two spaces and print "bla&

ruby indentation

2006-10-19 Thread Akbar
Hi, I use vim7 ( compiled from source ) This is my situation: open bla.rb def bla ( type def bla, enter ) print "bla"( type two spaces and print "bla", enter ) print "bli" ( no need to type two spaces, sweet, type print "bli", enter ) end ( type en

replace using variable

2006-10-16 Thread Akbar
Hi, I have these words: 1. I am good 2. You sucks! 3. Take that, moron I want to change those sentences into: 1. I am good 2. You sucks! 3. Take that, moron How do I do that using vim replace command? All I can think is this: :%s/\d/\d/igc But that does not work. Any idea? Yeah, I can change

Re: latex-suite and Vim 7.0 on Mac OS X

2006-09-28 Thread Akbar
Ok, I made it work. it is bug... but there is a fix https://sourceforge.net/tracker/?func=detail&aid=1503673&group_id=52322&atid=466456 On 9/28/06, Akbar <[EMAIL PROTECTED]> wrote: Me too. But it's Suse 10.2 not Mac I installed vim-latex just des

Re: latex-suite and Vim 7.0 on Mac OS X

2006-09-28 Thread Akbar
Me too. But it's Suse 10.2 not Mac I installed vim-latex just described here: http://vim-latex.sourceforge.net/index.php?subject=download&title=Download But there is no latex related menu appear on my vim gui. Only help files works perfectly :( Any idea? On 7/8/06, Serge Rey <[EMAIL PROTEC

Re: --enable-gui argument... no GUI support

2006-09-27 Thread Akbar
Ok, I finally made it out. I think this is the case. First I don't have gtk2-devel installed, then I try to configure the vim 7 source. Vim tell me that gui is not supported. I installed gtk2-devel. With the same folder, I try to configure it again. No luck. Until today I try new and fresh sou

Re: --enable-gui argument... no GUI support

2006-09-26 Thread Akbar
I have the same problem. Installing vim 7.0 source in Suse 10.1, I always get --enable-gui argument... no GUI support I have xorg-x11-devel installed. I have installed libgnome-devel. No luck. Any idea? In Ubuntu 6.06, installing vim 7.0 is easy. On 5/28/06, Bohdan Ganický <[EMAIL PROTECTED]> w

Re: --enable-gui argument... no GUI support

2006-09-26 Thread Akbar
successfully compiling vim7 from source. I installed suse 10.2 to other computer and get crazy installing vim 7 from source. On 9/26/06, Bohdan Ganický <[EMAIL PROTECTED]> wrote: Hi Akbar, do you have gtk2-devel package (or something similar) installed as well? I switched to Ubuntu recently and I

where is vimfiles?

2006-04-30 Thread Akbar
Hi, I want to install this script: http://www.2072productions.com/?to=phpindent.txt install details: Just make sure the name of the file is php.vim and copy it under your vimfiles/indent folder. PHP syntax coloring must be turned on. But where is the vimfiles directory? $ locate vimfiles nothi