Gvim in windows not autocompleting tabf arguements

2010-08-20 Thread Vivek Bhat
Hi, I have installed Gvim 7.3 on my windows XP and openSUSE 11.3. While in suse doing tabf $MY and then tab gives tabf $MYVIMRC, but in windows tabf $MY and then tab is not auto completing. The feature is working fine with e command, e.g. e $MY and then tab gives e $MYVIMRC. Does anyone have any

Re: How to open the latest modified file

2010-08-20 Thread Christian Brabandt
Hi eliweiq001! On Do, 19 Aug 2010, eliweiq001 wrote: On 8月19日, 下午7时11分, Christian Brabandt cbli...@256bit.org wrote: fun! OpenLastModified(...) let path=(a:1 ? a:1 : getcwd() ) let files=split(glob(path . '/*', 1), '\n') call filter(files, '!isdirectory(v:val)') call

Re: vimdiff-like highlighting within the same file?

2010-08-20 Thread Andy Wokula
Am 30.06.2010 11:59, schrieb Andrei Popescu: On Mi, 30 iun 10, 11:12:03, Christian Brabandt wrote: On Wed, June 30, 2010 10:52 am, Andrei Popescu wrote: I'm trying to add new features to vim's handling of .po files. How could I highlight the differences between the current msgid and the

Windows version with Python, Ruby and Lua support?

2010-08-20 Thread Didly Bom
Hi, this is my first post on this list so first I'd like to thank all the Vim contributors for your work on this awesome piece of software that is VIM. That being said, I have a question regarding python, ruby and lua support (or lack thereof) on the official Vim installer for windows. I am

Re: vimdiff-like highlighting within the same file?

2010-08-20 Thread Christian Brabandt
Hi Adam! On Do, 19 Aug 2010, Adam Monsen wrote: May I suggest that you look into Christian Brabandt's NarrowRegion plugin. A procedure, after having installed NarrowRegion: * edit buffer * select lines with V * :NR(this will make a narrow region buffer holding just those lines)

Re: Windows version with Python, Ruby and Lua support?

2010-08-20 Thread H Xu
On 2010/8/20 17:57, Didly Bom wrote: Hi, this is my first post on this list so first I'd like to thank all the Vim contributors for your work on this awesome piece of software that is VIM. That being said, I have a question regarding python, ruby and lua support (or lack thereof) on the

Re: How to open the latest modified file

2010-08-20 Thread eliweiq001
On 8月20日, 下午4时35分, Christian Brabandt cbli...@256bit.org wrote: Hi eliweiq001! And besides, when I :call OpenLastModified(1) there is an error: Error detected while processing function OpenLastModified: Line 5: E684: list index out of range: -1 E15: Invalid expression:

Re: How to open the latest modified file

2010-08-20 Thread bill lam
By looking at message-id of your emails, it seems you actually sent this and also other posts several times. May I ask what was the reason? -- regards, GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 --

vim vjde installtion on windows/cygwin

2010-08-20 Thread vicky b
Hi, Please help me out i have googled as much as possible but could not solution yet am getting mad. I want to use vjde in my windows version gvim and cygwin vim i have downloaded vjde from http://www.vim.org/scripts/script.php?script_id=1213 and extrated the vjde under install

Insert one word then exit insert mode

2010-08-20 Thread Oivvio Polite
Hi, I'm transitioning to vim after 10+ years of emacs. Is there a way to enter insert mode and automatically leave insert mode after typing a complete word? I realize that this could be accomplished by defining a macro and mapping it to a key but I'd rather learn how to do it the vi-way so that

Re: How to open the latest modified file

2010-08-20 Thread eliweiq001
On 8月20日, 下午6时30分, bill lam cbill@gmail.com wrote: By looking at message-id of your emails, it seems you actually sent this and also other posts several times. May I ask what was the reason? -- regards, GPG key 1024D/4434BAB3

Re: Gvim in windows not autocompleting tabf arguements

2010-08-20 Thread Christian Brabandt
Hi Vivek! On Fr, 20 Aug 2010, Vivek Bhat wrote: I have installed Gvim 7.3 on my windows XP and openSUSE 11.3. While in suse doing tabf $MY and then tab gives tabf $MYVIMRC, but in windows tabf $MY and then tab is not auto completing. The feature is working fine with e command, e.g. e $MY and

Re: How to open the latest modified file

2010-08-20 Thread Christian Brabandt
Hi eliweiq001! On Fr, 20 Aug 2010, eliweiq001 wrote: On 8月20日, 下午4时35分, Christian Brabandt cbli...@256bit.org wrote: Hi eliweiq001! And besides, when I :call OpenLastModified(1) there is an error: Error detected while processing function OpenLastModified: Line 5:

Re: vim vjde installtion on windows/cygwin

2010-08-20 Thread Christian Brabandt
Hi vicky! On Fr, 20 Aug 2010, vicky b wrote: Please help me out i have googled as much as possible but could not solution yet am getting mad. I want to use vjde in my windows version gvim and cygwin vim i have downloaded vjde from http://www.vim.org/scripts/script.php?script_id=1213

Re: Insert one word then exit insert mode

2010-08-20 Thread Christian Brabandt
Hi Oivvio! On Fr, 20 Aug 2010, Oivvio Polite wrote: Is there a way to enter insert mode and automatically leave insert mode after typing a complete word? I realize that this could be accomplished by defining a macro and mapping it to a key but I'd rather learn how to do it the vi-way so

Re: How to open the latest modified file

2010-08-20 Thread eliweiq001
Hi Christian ! On 8月20日, 下午7时19分, Christian Brabandt cbli...@256bit.org wrote: Hi eliweiq001! I see. There was 1 small problem. Use this slightly changed version (which only selects C-files): fun! OpenLastModified(...) let path=(!empty(a:1) ? a:1 : getcwd() ) let

Re: vim vjde installtion on windows/cygwin

2010-08-20 Thread vicky b
Hi Christan, Nope i havent what are the arguments required can you please tell me in detail. On Fri, Aug 20, 2010 at 4:51 PM, Christian Brabandt cbli...@256bit.orgwrote: Hi vicky! On Fr, 20 Aug 2010, vicky b wrote: Please help me out i have googled as much as possible but could

Re: vim vjde installtion on windows/cygwin

2010-08-20 Thread Christian Brabandt
Hi vicky! [Fixing quotation, please don't top poste] On Fr, 20 Aug 2010, vicky b wrote: On Fri, Aug 20, 2010 at 4:51 PM, Christian Brabandt cbli...@256bit.orgwrote: Did you run the helptags command? Nope i havent what are the arguments required can you please tell me in detail. In

Re: vim vjde installtion on windows/cygwin

2010-08-20 Thread vicky b
On Fri, Aug 20, 2010 at 5:19 PM, Christian Brabandt cbli...@256bit.orgwrote: Hi vicky! [Fixing quotation, please don't top poste] On Fr, 20 Aug 2010, vicky b wrote: On Fri, Aug 20, 2010 at 4:51 PM, Christian Brabandt cbli...@256bit.orgwrote: Did you run the helptags command?

How to get a command that comes completely from a mapping into : register

2010-08-20 Thread Aarto Matti
Hi, I wonder if there a way to access the last command even if it comes from mapping. Vim help says I can't: : Contains the most recent executed command-line. Example: Use @: to repeat the previous command-line command. The command-line is only stored in this register when at least one

Re: How to get a command that comes completely from a mapping into : register

2010-08-20 Thread Andy Wokula
Am 20.08.2010 15:16, schrieb Aarto Matti: Hi, I wonder if there a way to access the last command even if it comes from mapping. Vim help says I can't: : Contains the most recent executed command-line. Example: Use @: to repeat the previous command-line command. The command-line is only

Re: How to get a command that comes completely from a mapping into : register

2010-08-20 Thread Andy Wokula
Am 20.08.2010 15:50, schrieb Andy Wokula: Am 20.08.2010 15:16, schrieb Aarto Matti: Hi, I wonder if there a way to access the last command even if it comes from mapping. Vim help says I can't: : Contains the most recent executed command-line. Example: Use @: to repeat the previous

How to get ruby support for gvim73 on a windows XP machine.

2010-08-20 Thread Jeri Raye
Hi, I'm using gvim73 on windows xp. I tried to use the command-t plugin. This gives the message that vim needs to be compiled with ruby support. I'm a complete newbie on compiling gvim. I understand it's possible on a linux machine. But how to do that on windows XP? Or can you give a ruby.dll

Silly question maybe: What's the purpose of color schemes

2010-08-20 Thread Jeri Raye
Hi, I see many times people create color schemes for vim. With special names as well. To me personally I have only one scheme with my personal prefferences. And for all my filetypes it's all the same. Why do you use several different color schemes? What does it help you? Why for example do you

Re: how to move x inside a function?

2010-08-20 Thread Bee
Here is the whole script. Encode selected text as html entities. function Encode(str) let out = '' for i in range(strlen(a:str)) let c = a:str[i] let n = char2nr(c) let r = Urndm(0,9) if r 6 c != @ c != . let e = c elseif r 3 let e = printf(#x%x;,n)

Re: Silly question maybe: What's the purpose of color schemes

2010-08-20 Thread Tim Chase
On 08/20/10 10:09, Jeri Raye wrote: To me personally I have only one scheme with my personal prefferences. And for all my filetypes it's all the same. I do the same thing too -- just my timchase.vim colorscheme. Very rarely, I'll define a syntax-coloring item on-the-fly for a particular

RE: Silly question maybe: What's the purpose of color schemes

2010-08-20 Thread Steve Hall
From: Jeri Raye, Fri, August 20, 2010 11:09 am Why do you use several different color schemes? What does it help you? Why for example do you prefer dark color schemes (black/grey brackground, soft letter colors). Color schemes are helpful to accommodate different ambient light levels. By

Re: Silly question maybe: What's the purpose of color schemes

2010-08-20 Thread Benjamin R. Haskell
On Fri, 20 Aug 2010, Jeri Raye wrote: Hi, I see many times people create color schemes for vim. With special names as well. To me personally I have only one scheme with my personal prefferences. And for all my filetypes it's all the same. Why do you use several different color schemes?

Re: Silly question maybe: What's the purpose of color schemes

2010-08-20 Thread Tony Mechelynck
On 20/08/10 17:09, Jeri Raye wrote: Hi, I see many times people create color schemes for vim. With special names as well. To me personally I have only one scheme with my personal prefferences. And for all my filetypes it's all the same. Why do you use several different color schemes? What does

if version = 700 ?vim6.2 and for

2010-08-20 Thread Bee
I have a .vimrc that is used for vim6.2 thru vim7.3 on Mac Terminal This works to eliminate errror messages for the older vim6.2: if version = 700 ?vim6.2 ... endif EXCEPT with a new script which has a FOR ... ENDFOR The ENDFOR seems to confused the IF. Is there a workaround? I suppose I

Re: Silly question maybe: What's the purpose of color schemes

2010-08-20 Thread Joan Miquel Torres Rigo
2010/8/20 Steve Hall digit...@dancingpaper.com: From: Jeri Raye, Fri, August 20, 2010 11:09 am Why do you use several different color schemes? What does it help you? Why for example do you prefer dark color schemes (black/grey brackground, soft letter colors). Color schemes are helpful to

Re: Silly question maybe: What's the purpose of color schemes

2010-08-20 Thread Ben Fritz
On Aug 20, 10:09 am, Jeri Raye jeri.r...@gmail.com wrote: Hi, I see many times people create color schemes for vim. With special names as well. To me personally I have only one scheme with my personal prefferences. And for all my filetypes it's all the same. Why do you use several

Re: vimdiff-like highlighting within the same file?

2010-08-20 Thread Adam Monsen
How would you like the plugin to handle that automatically. If you make good suggestions, I might implement that. Do you mean the narrow region plugin? Actually, that plugin may not be involved at all. Here's a use case for what I'm envisioning. (1) one plain text file in unified diff format

map C-tab if there are more than one tabpage then :tabnext else C-ww

2010-08-20 Thread eliweiq001
Hi, I want to write this: map C-tab if there are more than one tabpage then :tabnext else C-ww How to finish it? Thanks! Regards. -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit

how do is set wrap for _reading_ a file that was already edited before

2010-08-20 Thread aleCodd
opening an existing file that have lines longer than the screen width, how do i format the file for easy reading. i think that the options 'textwidth' and 'wrapmargin' are effective only while editing the file and adding _new_ lines...not for existing lines which will not change whatever value

Re: Use of buffer

2010-08-20 Thread Simon Ruderich
On Thu, Aug 19, 2010 at 11:36:41AM +0200, Marc Weber wrote: I map m-1 m-2 to tab 1,2 etc. This way I have O(1) access to 3 files or more I'm currently focusing on. m-X key jump to tab X for i in range(1,8) exec 'map m-'.i.' '.i.'gt' endfor I have similar bindings. However :b also works

Re: how do is set wrap for _reading_ a file that was already edited before

2010-08-20 Thread Tim Chase
On 08/20/10 19:17, aleCodd wrote: opening an existing file that have lines longer than the screen width, how do i format the file for easy reading. i think that the options 'textwidth' and 'wrapmargin' are effective only while editing the file and adding _new_ lines...not for existing lines

Re: i think ive been through this so many times again. i am a user for at least a few months, posted a dozen of times even helped out here and there i already begged last week to be on the group white

2010-08-20 Thread Marc Weber
Excerpts from ale's message of Sat Aug 21 02:30:51 +0200 2010: this is regarding the nabble webiste.. nabble website / white list? What are you talking about exactly? Vim users communicate in different ways: (arbitrary order) a) www.vim.org b) wikia Vim wiki c) irc.freenode.net (channel #vim) d)

Re: i think ive been through this so many times again. i am a user for at least a few months, posted a dozen of times even helped out here and there i already begged last week to be on the group whit

2010-08-20 Thread bill lam
Птн, 20 Авг 2010, ale писал(а): this is regarding the nabble webiste.. I think you should send your request directly to webmaster of nabble.com instead of here. Do you actually think that the guys in nabble.com will answer you here? BTW I still think you owed the moderators an apology. --

Re: i think ive been through this so many times again. i am a user for at least a few months, posted a dozen of times even helped out here and there i already begged last week to be on the group whit

2010-08-20 Thread aleCodd
i reckon i was confused how this mailing list worked and thought it is the same moderator.. so is there a separate moderator for the nabble website specific to the vim group... or is it general... thanks.. -- View this message in context:

Re: i think ive been through this so many times again. i am a user for at least a few months, posted a dozen of times even helped out here and there i already begged last week to be on the group whit

2010-08-20 Thread bill lam
Птн, 20 Авг 2010, aleCodd писал(а): i reckon i was confused how this mailing list worked and thought it is the same moderator.. so is there a separate moderator for the nabble website specific to the vim group... or is it general... thanks.. I hate to bore you but I still think