Making vim script auto-installable

2010-02-22 Thread Cornelius(c9s)
Hi folks, it's such pain to install plugins from vim.org , because every plugin use its own way to distribute. and vim.org doesn't provide any API for application to retrieve structural data.. like JSON... I'm here because I wrote Vimana vim script manager , which detects plugin content to

Re: What does [converted] mean

2010-02-22 Thread Jean Johner
Thank you Tony. It seems that Vim uses UTF-8 by default on Linux and ANSI on Windows. Best regards. -- You received this message from the vim_use maillist. For more information, visit http://www.vim.org/maillist.php

Within mlterm vim doesnt know arabic characters though it knows them in konsole

2010-02-22 Thread Rudolf Bahr
Hello All, it has just been discussed (in 2009), why 'vim' cannot present latin and arabic based words in right order in bilingual texts, as for instance 'gedit' can. In ':help arabic.txt' the use of 'mlterm' in combination with 'vim' is suggested. Though 'vim' knows arabic characters within

Hex edit in vim

2010-02-22 Thread felix hoo
When I edit the binary file in hex mode in vim. I would like to have the ascii view updated once I change the hex value. Is it possible to do so? Current behavior is : 000: 3132 372e 302e 302e 3109 0920 2020 206c 127.0.0.1..l 010: 6f63 616c 686f 7374 0a ocalhost.

Re: Commenting Plugin Available by Default

2010-02-22 Thread Yue Wu
On Mon, Feb 22, 2010 at 07:34:55AM +, Francis Giannaros wrote: On 22 February 2010 06:07, Marc Weber marco-owe...@gmx.de wrote: How does this look like? I don't use comments that often and I don't want Vim to load read lines which are used occasionally only. My apologies -- I should

Help with LocalLeader Setup

2010-02-22 Thread mlip...@gmail.com
Hi, I am relatively new to VIM, so I apologize if this question is ridiculous. I am trying to use a plugin (VimClojure) and cannot seem to execute the default mappings. For example, '\sr' is supposed to open a REPL buffer; however, it seems as though the default leader/ localleader mappings are

Re: Counting Lines between two markers

2010-02-22 Thread zzapper
Tim Chase wrote in news:4b8096b0.1050...@tim.thechases.com: zzapper wrote: Hi :'a,'bs/^// will count the lines between two markers a and b but is :there any more elegant way, one that is not seen as an edit? You can add the n flag :'a,'bs/^//n Or you can do the math (adjust for

Re: strange behaviour of normal command

2010-02-22 Thread Ben Fritz
On Feb 21, 10:51 pm, KKde khekadestro...@gmail.com wrote: If I press CTRL-F/ CTRL-B and then execute the map then my cursor is scrolled to center of the screen (Like pressing 'M' in normal mode). If my explanation is not clear then Can you copy the script I given and execute the map on some

Re: Counting Lines between two markers

2010-02-22 Thread Gary
Similarly, I just yank the lines and look at the N lines yanked message. 'ay'b On Feb 21, 7:13 pm, Ben Fritz fritzophre...@gmail.com wrote: On Feb 20, 6:10 pm, zzapper da...@tvis.co.uk wrote: Hi :'a,'bs/^// will count the lines between two markers a and b but is there any more elegant

R language syntax highlighting file

2010-02-22 Thread zhuojun chen
I sent an email to current maintainer Vaidotas Zemlys 2 weeks ago but no response yet. Here is a mod, it's an unfinished version. Please have a look, thanks. -- You received this message from the vim_use maillist. For more information, visit http://www.vim.org/maillist.php r.vim Description:

Closing intermediate of a vimscript process

2010-02-22 Thread epanda
Hi, I process on csv files and I would like to close or bdelete all files that are finishing by .csv Is it better to close or bdelete? I think bd free some memory no ? Thank you -- You received this message from the vim_use maillist. For more information, visit http://www.vim.org/maillist.php

Re: Hex edit in vim

2010-02-22 Thread Christian Brabandt
Hi felix! On Mo, 22 Feb 2010, felix hoo wrote: When I edit the binary file in hex mode in vim. I would like to have the ascii view updated once I change the hex value. Is it possible to do so? Current behavior is : 000: 3132 372e 302e 302e 3109 0920 2020 206c 127.0.0.1..l

Re: Using matchit.vim with an odd file extension

2010-02-22 Thread zzapper
Gary Johnson wrote in news:20100222180653.ga4...@kcjs-computer: I don't see an raa file type in $VIMRUNTIME/filetype.vim. Do you have your own ~/.vim/filetype.vim or ~/.vim/ftdetect/raa.vim (or the Windows equivalent) that maps the .raa extension to the raa file type? If not, the

File browser for insert mode

2010-02-22 Thread Jean Johner
Hello, When working in insert mode, the File browser (obtained with Ctrl- O :e .) is opened in insert mode, so that click on the files or directories is not active. The only way to open a file is to use the clumsy Ctrl-O CR. Is there a version of the File browser adapted to insert mode. Yours

How to close all files in args list

2010-02-22 Thread epanda
Hi I have opened some files in path with this command exec 'args ' . l:path how can I close the same files ? Thank you -- You received this message from the vim_use maillist. For more information, visit http://www.vim.org/maillist.php

Trying to go to the definition of class/function in PHP 5 code

2010-02-22 Thread Javier Garcia
Hi, i have installed vim 7.2 and ctags 5.8 and created the tags file with ctags -R /foopath. I have _many methods that are called with the same name_ in several classes, so if i put the cursor in a function calling and i execute :tag it shows the _first_ of the tags listed. If the i execute

Easy vim : so $VIMRUNTIME/evim.vim

2010-02-22 Thread epanda
After sourcing evim for people who don't know edit command and after thier editing , I would like to return to exmode. Keeping Gvim opened.. Thank you -- You received this message from the vim_use maillist. For more information, visit http://www.vim.org/maillist.php

Re: How to close all files in args list

2010-02-22 Thread Tim Chase
I have opened some files in path with this command exec 'args ' . l:path how can I close the same files ? :argdo bdel should do the trick. -tim -- You received this message from the vim_use maillist. For more information, visit http://www.vim.org/maillist.php

Re: How to close all files in args list

2010-02-22 Thread epanda
On 22 fév, 23:05, Tim Chase v...@tim.thechases.com wrote: I have opened some files in path with this command exec 'args ' . l:path how can I close the same files ? :argdo bdel should do the trick. -tim Hum it does not the job cause I am in easy vim mode if

Re: Easy vim : so $VIMRUNTIME/evim.vim

2010-02-22 Thread Christian Brabandt
Hi epanda! On Mo, 22 Feb 2010, epanda wrote: After sourcing evim for people who don't know edit command and after thier editing , I would like to return to exmode. Keeping Gvim opened.. :h i_Ctrl-L and you should probably also read :h evim-keys regards, Christian -- You received this

Re: Easy vim : so $VIMRUNTIME/evim.vim

2010-02-22 Thread epanda
On 22 fév, 23:10, Christian Brabandt cbli...@256bit.org wrote: Hi epanda! On Mo, 22 Feb 2010, epanda wrote: After sourcing evim for people who don't know edit command and after thier editing , I would like to return to exmode. Keeping Gvim opened.. :h i_Ctrl-L and you should

Open Hightlighted Text in Vim

2010-02-22 Thread williey
How can I open a highlighted text string in Vim? Can I set an option in my .vimrc file to do this? Thanks, Willie Yarbrough -- You received this message from the vim_use maillist. For more information, visit http://www.vim.org/maillist.php

Re: strange behaviour of normal command

2010-02-22 Thread KKde
The script you gave has no CTRL-F in it. If you are having a problem with CTRL-F, it is not the fault of the script you sent. After defining the function and map as mentioned above. Then open any file that has many lines and execute map ,vi. and move cursor down somewhere and then execute

Re: Open Hightlighted Text in Vim

2010-02-22 Thread Stahlman Family
williey wrote: How can I open a highlighted text string in Vim? Can I set an option in my .vimrc file to do this? Willie, Can you elaborate on what you mean by open a highlighted text string? Thanks, Brett Stahlman Thanks, Willie Yarbrough -- You received this message from the vim_use

Re: strange behaviour of normal command

2010-02-22 Thread Christian Brabandt
On Tue, February 23, 2010 4:45 am, KKde wrote: After defining the function and map as mentioned above. Then open any file that has many lines and execute map ,vi. and move cursor down somewhere and then execute map ,vi. you will see the problem I am mentioning. I asked to press CTRL-F multiple

Re: hls Colour

2010-02-22 Thread Ben Schmidt
On 22/02/10 3:25 AM, Spencer Collyer wrote: On Fri, 19 Feb 2010 11:54:43 +, Paul wrote: When I have hls on, the searched words are highlighted. When I press n or # to jump through them, the page might scroll up or down and there could be a number of hit results shown. I sometimes have to

Re: How to leave insert mode with a vimscript command

2010-02-22 Thread Ben Schmidt
On 23/02/10 6:31 PM, epanda wrote: Hi, I would like to execute either CTRL-L or i_CTRL-L into a vimscript in order to leave insert mode. How can I do ? Try :stopinsert Ben. -- You received this message from the vim_use maillist. For more information, visit http://www.vim.org/maillist.php