Re: Fwd: Indentation Vertical Lines

2010-07-06 Thread Benjamin R. Haskell
On Mon, 5 Jul 2010, cncy...@gmail.com wrote: > "set listchars=tab:\|\ " (| and ) really works fine when i use > to indent files, but is there a way to show | chars when i use > to indent program, especially when writing python? > With a Vim that has the 'conceal' feature: " if shiftwidth =

Re: syntax highlight of sqlite3 script using bash here document

2010-07-06 Thread Benjamin R. Haskell
On Tue, 6 Jul 2010, Peng Yu wrote: > On Jul 6, 3:55 pm, "Benjamin R. Haskell" wrote: > > [...] > > The following worksforme: > > > > ==> ~/.vim/after/syntax/sh.vim <== > > unlet b:current_syntax > > syntax include @sql syntax/sql.vim > > syn region shHereDoc matchgroup=shRedir start=/<<\s*\\\=\z(\

Re: Show indentation level

2010-07-06 Thread Tony Mechelynck
On 06/07/10 17:04, Pablo Giménez wrote: Hi I am trying to make more clear my indent levels when programming python. In many editors you can set to visualize indentation level in your text, at every level a character, usually a point is shown, so you onlu need to count the number of preceding poin

Re: How to run the external command in background?

2010-07-06 Thread Tony Mechelynck
On 07/07/10 03:08, robert song wrote: Hello, everyone. Sometimes I want to run grep to search for a function in the source code, but I don't want it to jump to terminal and wait for the result, Is there any way to run the external command in background, and I can see the code at the same time wi

Re: syntax highlight of sqlite3 script using bash here document

2010-07-06 Thread Peng Yu
On Jul 6, 3:55 pm, "Benjamin R. Haskell" wrote: > On Tue, 6 Jul 2010, Charles Campbell wrote: > > Benjamin R. Haskell wrote: > > > On Mon, 5 Jul 2010, Peng  Yu wrote: > > > > > No. You misunderstood me. I think that the vim can recognized the > > > > file type by the suffix of the filename. Ther

Re: Fwd: Indentation Vertical Lines

2010-07-06 Thread Vlad Irnov
On Jul 4, 11:35 pm, "cncy...@gmail.com" wrote: > "set listchars=tab:\|\ " (| and ) really works fine when i use to > indent files, but is there a way to show | chars when i use to indent > program, especially when writing python? Here is another indent level syntax highlighting script. It creat

Re: How to run the external command in background?

2010-07-06 Thread AK
On 07/06/2010 09:08 PM, robert song wrote: > Hello, everyone. > > Sometimes I want to run grep to search for a function in the source > code, but I don't want it to jump to terminal and wait for the result, > Is there any way to run the external command in background, and I can > see the code at th

How to run the external command in background?

2010-07-06 Thread robert song
Hello, everyone. Sometimes I want to run grep to search for a function in the source code, but I don't want it to jump to terminal and wait for the result, Is there any way to run the external command in background, and I can see the code at the same time without wasting time to wait for the resul

Re: How to display UTF-8 chars on Windows GUI? How to do UTF-8 input?

2010-07-06 Thread Tony Mechelynck
On 13/06/10 11:35, Linda W wrote: Hi Linda. Sorry it took me so long to get back to you. Alas, I don't think I can solve your problem described below (and earlier in this thread) but maybe someone else can? Tony Mechelynck wrote: On 09/06/10 07:43, Jürgen Krämer wrote: have you set 'guifon

Re: fuzzy finder - how to get it find files from root of my current dir located in any subdirectory?

2010-07-06 Thread Rick R
On Tue, Jul 6, 2010 at 10:51 AM, Rick R wrote: > >> >> > Right now, I can only seem to get FuzzyFinder to search in the current > directory. > Found a post on another site. Solution append **/ after FuFile so my mapping is now: map f :FufFile **/ -- You received this message from the "vim_

Fwd: Re: synstack() in insert mode

2010-07-06 Thread Tony Mechelynck
Forward to list. Original Message Subject: Re: synstack() in insert mode Date: Tue, 6 Jul 2010 05:59:18 +0100 From: Marcin Szamotulski To: Tony Mechelynck On 04:09 Tue 06 Jul , Tony Mechelynck wrote: On 06/07/10 02:13, Marcin Szamotulski wrote: > > Sorry for not being pr

Re: syntax highlight of sqlite3 script using bash here document

2010-07-06 Thread Benjamin R. Haskell
On Tue, 6 Jul 2010, Charles Campbell wrote: > Benjamin R. Haskell wrote: > > On Mon, 5 Jul 2010, Peng Yu wrote: > > > > > > > No. You misunderstood me. I think that the vim can recognized the > > > file type by the suffix of the filename. There is no need to ":set > > > filetype=sql" expli

Re: Mercurial revision numbers in statusline

2010-07-06 Thread JD
On Jul 6, 4:18 pm, Bob Hiestand wrote: > On Sun, Jul 4, 2010 at 8:26 PM, JD wrote: > > I was hoping someone could help me with this. I'd like to put the > > current hg revision of the project i'm working on in the Vim > > statusline to make it really easy to see without having to use hg log > > o

Re: Mercurial revision numbers in statusline

2010-07-06 Thread Bob Hiestand
On Sun, Jul 4, 2010 at 8:26 PM, JD wrote: > I was hoping someone could help me with this. I'd like to put the > current hg revision of the project i'm working on in the Vim > statusline to make it really easy to see without having to use hg log > or something. I have an idea of the commands neces

Re: syntax highlight of sqlite3 script using bash here document

2010-07-06 Thread Charles Campbell
Benjamin R. Haskell wrote: On Mon, 5 Jul 2010, Peng Yu wrote: No. You misunderstood me. I think that the vim can recognized the file type by the suffix of the filename. There is no need to ":set filetype=sql" explicitly. But the default syntax highlight facility in vim doesn't reliably sy

Show indentation level

2010-07-06 Thread Pablo Giménez
Hi I am trying to make more clear my indent levels when programming python. In many editors you can set to visualize indentation level in your text, at every level a character, usually a point is shown, so you onlu need to count the number of preceding points to know your indent level. I am already

Re: fuzzy finder - how to get it find files from root of my current dir located in any subdirectory?

2010-07-06 Thread Rick R
On Tue, Jul 6, 2010 at 6:57 AM, rickywu wrote: > > I'm having difficulty understanding how to set fuzzyfinder so it will > find > > any file (no matter how deep) starting from the root of my vim instance. > So > > for example if I'm in /Users/rick/projects/myproject I want to be able to > > find

Re: fuzzy finder - how to get it find files from root of my current dir located in any subdirectory?

2010-07-06 Thread rickywu
> I'm having difficulty understanding how to set fuzzyfinder so it will find > any file (no matter how deep) starting from the root of my vim instance. So > for example if I'm in /Users/rick/projects/myproject I want to be able to > find any file beneath 'myproject.' Right now when I trigger fuzzy