finding consecutive lines with specific different words/chars

2014-02-17 Thread Hagay Spector
Hi! I'm looking for a way in gvim to find the following CONSECUTIVE lines: (I'm numbering the lines for convenience this is not part of the text) 1. this is line 1 and these are the trailing chars sdf 2. this is line 1 and these are the trailing chars fds 3. this is line 1 and these are the

Re: finding consecutive lines with specific different words/chars

2014-02-17 Thread Erik Christiansen
On 17.02.14 00:33, Hagay Spector wrote: 1. this is line 1 and these are the trailing chars sdf 2. this is line 1 and these are the trailing chars fds 3. this is line 1 and these are the trailing chars 4. this is line 2 and these are the trailing chars 5. this is line 3 and these are the

trouble using python code with sql code

2014-02-17 Thread A Loumiotis
Hi, Omni sql completion does not seem to work with python filetypes. The example provided in section 4.6 of the helpfile ft_sql.txt works, ie omni sql completion works within a perl file. If I repeat this example editing a python file instead: :e test.py :set filetype=sql :set ft=python omni

Re: trouble using python code with sql code

2014-02-17 Thread Tony Mechelynck
On 17/02/14 12:45, A Loumiotis wrote: Hi, Omni sql completion does not seem to work with python filetypes. The example provided in section 4.6 of the helpfile ft_sql.txt works, ie omni sql completion works within a perl file. If I repeat this example editing a python file instead: :e test.py

Re: trouble using python code with sql code

2014-02-17 Thread A Loumiotis
On Mon, Feb 17, 2014 at 2:27 PM, Tony Mechelynck antoine.mechely...@gmail.com wrote: On 17/02/14 12:45, A Loumiotis wrote: Hi, Omni sql completion does not seem to work with python filetypes. The example provided in section 4.6 of the helpfile ft_sql.txt works, ie omni sql completion works

Re: syntax settings with php module files - 'after' problem

2014-02-17 Thread Ben Fritz
On Sunday, February 16, 2014 3:12:43 PM UTC-6, Tim Johnson wrote: I'm using ver 7.3 on Mac OSX 10.7 I have the following as a group in .vimrc inside of a if has(autocmd) block in augroup module autocmd BufRead,BufNewFile *.module set filetype=php autocmd

Re: syntax settings with php module files - 'after' problem

2014-02-17 Thread Tim Johnson
* Ben Fritz fritzophre...@gmail.com [140217 07:27]: On Sunday, February 16, 2014 3:12:43 PM UTC-6, Tim Johnson wrote: ignored in buffers with .module and .install extensions I just tried this exact setup, and it works fine for me in 7.4. I edited a new test.install file and all the

Re: finding consecutive lines with specific different words/chars

2014-02-17 Thread Arun E
On Feb 17, 2014, at 12:33 AM, Hagay Spector haga...@gmail.com wrote: Hi! I'm looking for a way in gvim to find the following CONSECUTIVE lines: (I'm numbering the lines for convenience this is not part of the text) 1. this is line 1 and these are the trailing chars sdf 2. this is line

Adapting an existing session file to a new plugin

2014-02-17 Thread Tim Johnson
This is kind of a general question, but it has to do with issues that have made coding life complicated for me in the past. For a specific example of this topic, I have just installed the drupal plugin for vim. I have an existing project that is loaded by a session file and it is named

Re: Adapting an existing session file to a new plugin

2014-02-17 Thread Ben Fritz
On Monday, February 17, 2014 6:00:22 PM UTC-6, Tim Johnson wrote: This is kind of a general question, but it has to do with issues that have made coding life complicated for me in the past. For a specific example of this topic, I have just installed the drupal plugin for vim. I have

Re: Adapting an existing session file to a new plugin

2014-02-17 Thread Tim Johnson
* Ben Fritz fritzophre...@gmail.com [140217 18:19]: On Monday, February 17, 2014 6:00:22 PM UTC-6, Tim Johnson wrote: This is kind of a general question, but it has to do with issues That has worked, but sometimes I have ended up with syntax highlighting being clobbered. I'd

Re: trouble using python code with sql code

2014-02-17 Thread Tony Mechelynck
On 17/02/14 14:01, A Loumiotis wrote: On Mon, Feb 17, 2014 at 2:27 PM, Tony Mechelynck antoine.mechely...@gmail.com wrote: On 17/02/14 12:45, A Loumiotis wrote: Hi, Omni sql completion does not seem to work with python filetypes. The example provided in section 4.6 of the helpfile

Re: Adapting an existing session file to a new plugin

2014-02-17 Thread Anton Bobrov
On Tuesday, February 18, 2014 7:32:28 AM UTC+4, Tim Johnson wrote: Can you give an example? I have set sessionoptions=buffers,curdir in my vimrc for that task -- -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying to.