RE: Small fix for syntax/cfg.vim

2012-08-09 Thread John Beckett
Antony Lee wrote: > I believe that the default syntax file for cfg files > (syntax/cfg.vim) should be modified as follows: > ... > > How should I submit this request "officially"? The procedure is to email the name shown in the file and wait a couple of weeks to see if there is a reply. Ideally, t

Pydiction and TAB

2012-08-09 Thread goran kent
Hi all, Sorry if this is the wrong forum to ask about a vim plugin. I'm trying out Pydiction (http://www.vim.org/scripts/script.php?script_id=850) to autocomplete python. Autocompletion works well, but only with Ctrl-X/O, and not TAB. If I use TAB as advertised, then I get the error: -- Dicti

Small fix for syntax/cfg.vim

2012-08-09 Thread Antony Lee
Hi all, I believe that the default syntax file for cfg files (syntax/cfg.vim) should be modified as follows: 20,21c20,21 < "Parameters < syn match CfgParams".*="me=e-1 contains=CfgComment --- > "Parameters (match must be nongreedy) > syn match CfgParams".\{-}="me=e-1 contains=CfgComme

Re: vim: bind ctrl+shift+aletter

2012-08-09 Thread ping
On 08/09/2012 04:11 PM, Christian Brabandt wrote: Hi ping! On Mi, 08 Aug 2012, ping wrote: guys: is there a way to bind ctrl+shift+p differently that ctrl-p ? google told me NO, since they are the same "key code". just double check to experts here as last hope or any close workaround... Pl

Re: git vim and diff

2012-08-09 Thread Bob Hiestand
On Thu, Aug 9, 2012 at 4:22 AM, sinbad wrote: > i am using vcsgit, i want to know what values should i set > in VCSCommandGitDiffOpt so that i can view diffs between > working dir/index, working dir/last commit, working dir/head > and all other combinations. or if anyone using anyother better > s

Re: vim: bind ctrl+shift+aletter

2012-08-09 Thread Christian Brabandt
Hi ping! On Mi, 08 Aug 2012, ping wrote: > guys: > is there a way to bind ctrl+shift+p differently that ctrl-p ? > google told me NO, since they are the same "key code". > just double check to experts here as last hope or any close workaround... Please read the faq: http://vimhelp.appspot.com/vi

Re: auto completion regular expression

2012-08-09 Thread Christian Brabandt
Hi sinbad! On Di, 07 Aug 2012, sinbad wrote: > i use c-n c-p for auto completion. > is there a way to use regular expressions > while doing this, probably . for single char > and * for wild card will be helpful. > anyone has used like this. Probably. What kind of auto completion do you need? Hav

Map File Syntax Highlighting

2012-08-09 Thread Waters, Bill
Does anyone have a syntax file for .map files? I am working with Keil uVision .map files, but I would think that any syntax file for .map files would get me close. Thanks, Bill -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are re

Re: how to execute ranger from gvim

2012-08-09 Thread Sepp Tannhuber
> I think, the problem is mentioned below :h gui-pty I see. Probably it is because ranger is a ncurses application. I will check if it can be done with a pseudo-tty. Thank you Joseph -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you a

Re: auto completion regular expression

2012-08-09 Thread Or Duval
sinbad wrote, on tue 07 aug 2012, 23:40 : > i use c-n c-p for auto completion. > is there a way to use regular expressions > while doing this, probably . for single char > and * for wild card will be helpful. > anyone has used like this. > > tia The plugin neocomplcache has some options to hand

Re: how to execute ranger from gvim

2012-08-09 Thread Christian Brabandt
Hi Ben! On Do, 09 Aug 2012, Ben Fritz wrote: > I'm curious, why is this necessary? I run console apps from gvim on > Windows all the time without explicitly bringing up a cmd.exe shell. > Apparently there's some problem running "ranger" directly from gvim, > what is it? I think, the problem is m

Re: auto completion regular expression

2012-08-09 Thread Ben Fritz
On Thursday, August 9, 2012 4:19:22 AM UTC-5, sinbad wrote: > On Wednesday, August 8, 2012 12:10:52 PM UTC+5:30, sinbad wrote: > > i use c-n c-p for auto completion. > > is there a way to use regular expressions > > while doing this, probably . for single char > > and * for wild card will be helpfu

Re: how to execute ranger from gvim

2012-08-09 Thread Ben Fritz
On Thursday, August 9, 2012 5:34:05 AM UTC-5, Christian Brabandt wrote: > Hi Sepp! > > > > On Do, 09 Aug 2012, Sepp Tannhuber wrote: > > > > > Dear all, > > > > > > I use the following function from the ranger manual: > > > fun! RangerChooser() > > > exec "silent !ranger --choosefile=/tm

Re: vim: input line history

2012-08-09 Thread Ben Fritz
On Wednesday, August 8, 2012 10:14:59 PM UTC-5, ping wrote: > On 8/7/2012 5:35 PM, Ben Fritz wrote: > > > I would guess that plugin uses the input() command to get strings from the > > user to search for. > > > > > > This is what is meant by "input line history". What did you think it meant? >

[fugitive] Gstatus .

2012-08-09 Thread sinbad
i just started using fugitive plugin. how can one pass the current folder for Gstatus command, my git repo is on nfs, git status is very low, since my changes are almost always in a single folder, i'd like to specify the current folder using "." can this be done in fugitive. tia -- You received

Re: git vim and diff

2012-08-09 Thread sinbad
On Thursday, August 9, 2012 4:11:00 PM UTC+5:30, Nicolas Dermine wrote: > On 9 Aug 2012 11:22, "sinbad" wrote: > > > > > > i am using vcsgit, i want to know what values should i set > > > in VCSCommandGitDiffOpt so that i can view diffs between > > > working dir/index, working dir/last commit,

Re: git vim and diff

2012-08-09 Thread Nicolas Dermine
On 9 Aug 2012 11:22, "sinbad" wrote: > > i am using vcsgit, i want to know what values should i set > in VCSCommandGitDiffOpt so that i can view diffs between > working dir/index, working dir/last commit, working dir/head > and all other combinations. or if anyone using anyother better > script to

Re: how to execute ranger from gvim

2012-08-09 Thread Christian Brabandt
Hi Sepp! On Do, 09 Aug 2012, Sepp Tannhuber wrote: > Dear all, > > I use the following function from the ranger manual: > fun! RangerChooser() > exec "silent !ranger --choosefile=/tmp/chosenfile" . expand("%:p:h") > if filereadable('/tmp/chosenfile') > exec 'edit ' . system('cat /tmp/chosenfile'

how to execute ranger from gvim

2012-08-09 Thread Sepp Tannhuber
Dear all, I use the following function from the ranger manual: fun! RangerChooser() exec "silent !ranger --choosefile=/tmp/chosenfile" . expand("%:p:h") if filereadable('/tmp/chosenfile') exec 'edit ' . system('cat /tmp/chosenfile') call system('rm /tmp/chosenfile') endif redraw! endfun map ,r :ca

git vim and diff

2012-08-09 Thread sinbad
i am using vcsgit, i want to know what values should i set in VCSCommandGitDiffOpt so that i can view diffs between working dir/index, working dir/last commit, working dir/head and all other combinations. or if anyone using anyother better script to integrate vim with git let me know. -- You rece

Re: auto completion regular expression

2012-08-09 Thread sinbad
On Wednesday, August 8, 2012 12:10:52 PM UTC+5:30, sinbad wrote: > i use c-n c-p for auto completion. > is there a way to use regular expressions > while doing this, probably . for single char > and * for wild card will be helpful. > anyone has used like this. > > tia anyone some pointers. --