Cool Gary!
Tahnk you, it is near the goal that I would like to reach.
My goal was the same out of I wanted to filter and display in status
line only percent progress of cppCheck.
But your intermediate solution is good !
Thank you Gary and Chris too !
--
You received this message from the "vim_
Hi,
I use fuzzyfinder to cycle between buffers. I am forced to use the
command to cycle between selections in the one-line buffer (shown when we
execute :FufBuffer). I use the latest fuzzyfinder version. In a previous
version I was able to use the Tab key to cycle through the selections. But
now
On 10/03/10 10:04, Germain wrote:
Hello
I just start to use the latex-suite plugins which looks like
promising. Nevertheless, I can not use the é letter. If I it the é key
of my AZERTY keybord this do nothing !
This FAQ does not fix the problem
http://vim-latex.sourceforge.net/index.php?subjec
Gary Johnson wrote:
As for your original question, I don't have a good answer. I
thought ":tabe #" might work, but when I tried it, closing the tab
also caused # to be undefined.
I was similarly puzzled by this behavior when I tried it. I
couldn't disinter any documentation on why closing a
Gary,
On 2010-03-11 03:19, Gary Johnson wrote:
On 2010-03-11, Philip Rhoades wrote:
People,
I have this in my vimrc:
autocmd BufWritePost *.rb !chmod 770 %
but I would like to make the chmod conditional on the file NOT already
currently being executable - do I need a funct
On 2010-03-10, corykendall wrote:
> On Mar 10, 7:39 pm, sc wrote:
> > CTRL-^ (actually ctrl-6) works for me
>
> It doesn't work for me. ctrl-6 seems to work if I'm working
> consistently in a single tab, but not if I close a tab and try to
> reopen it.
>
> btw, how do I look up help in vim for
On Mar 10, 7:39 pm, sc wrote:
> CTRL-^ (actually ctrl-6) works for me
It doesn't work for me. ctrl-6 seems to work if I'm working
consistently in a single tab, but not if I close a tab and try to
reopen it.
btw, how do I look up help in vim for 'ctrl-6'? I've tried C-6 C-^
ctrl-6 ctrl-^ Contro
On Wednesday 10 March 2010 05:32:18 pm corykendall wrote:
> I do this all the time in firefox... I close a tab and
> immediately realize "Shit! I need that!". So I reopen it
> with Control-Shift-t. Is there a way to do this in vim?
>
CTRL-^ (actually ctrl-6) works for me
sc
--
You receive
I do this all the time in firefox... I close a tab and immediately
realize "Shit! I need that!". So I reopen it with Control-Shift-t.
Is there a way to do this in vim?
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
Hi Gary,
> Here's what I wound up doing. It works well on Linux, and because
> it lets vim deal with the stdout and stderr redirection, it should
> work on Windows as well.
It works perfectly, thank you!
Chris
--
Chris Sutcliffe
http://emergedesktop.org
http://www.google.com/profiles/ir0nh34d
Gary Johnson wrote:
>> Is there a good way to jump to the start of the current
>> function in a case like the following (or in other languages
>> like Python)?
>>
>> int func() {
>> int a = 1;
>> if ( whatever ) {
>> a = something(); // say cursor is on '='
>> }
>> return
v/CODE/d
Yes. v/\/d worked nicely. It appears I have wasted about two hours
over-complicating things. :)
But now I know!
James
--
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 http://w
On 2010-03-10, Gary Johnson wrote:
> On 2010-03-10, epanda wrote:
> > I success to store both type of information of cppCheck by this
> > command but :
> >
> > silent exe '!cppCheck ' . a:dir . ' -a --enable=all --template gcc 1>
> > infos.txt 2> cppcheck.out'
> > cfile cppcheck.out
>
>I was trying to delete all the lines that didn't include "CODE". In other
>words, I want to be left with only lines containing the word CODE.
v/CODE/d
Salt and pepper to taste...
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are
What are you trying to accomplish? Since you're trying to match entire
lines, it sounds like you may desired to do something to each of these
lines, or print each of these lines, in which case the :v command may
serve you more simply.
I was trying to delete all the lines that didn't include "COD
On Mar 10, 1:52 pm, yorams70 wrote:
> It looks that you gave me a good direction because the :set ft=verilog
> does work.
>
> But I am not satisfied yet because I put
> filetype plugin indent on
> on my .vimrc & .gvimrc and it does not help.
>
This should work. Are you using a non-standard file
Am 10.03.2010 22:20, schrieb James Beck:
Try:
^\(\(\\)\...@!.\)*$
That is:
lines: ^___$
...that consist of 0 or more characters \(___.\)*
...at which the word CODE: \
...is not matched: \(___\)\...@!
Thank you. That worked perfectly.
Regular expressions are tricky.
James
There is also DrC
Am 10.03.2010 22:40, schrieb Ben Fritz:
On Mar 10, 11:23 am, Tim Chase wrote:
Andy's reply just came in:
@Gary: a try block cannot catch Beeps from a Normal mode
command.
but I'm not sure (1) where this is documented, and (2) why Gary
and I were getting the E385 (an error, not just a beep
On Mar 10, 11:23 am, Tim Chase wrote:
> Andy's reply just came in:
>
> > @Gary: a try block cannot catch Beeps from a Normal mode
> > command.
>
> but I'm not sure (1) where this is documented, and (2) why Gary
> and I were getting the E385 (an error, not just a beep) and it
> still wasn't being
On Mar 10, 2:48 pm, "James Beck" wrote:
> Hi,
>
> This might just drive me crazy. I've been trying to match lines that do
> NOT contain the word CODE.
>
What are you trying to accomplish? Since you're trying to match entire
lines, it sounds like you may desired to do something to each of thes
On 2010-03-10, epanda wrote:
> I success to store both type of information of cppCheck by this
> command but :
>
> silent exe '!cppCheck ' . a:dir . ' -a --enable=all --template gcc 1>
> infos.txt 2> cppcheck.out'
> cfile cppcheck.out
> copen
>
>
> Opening report in cppcheck.
Try:
^\(\(\\)\...@!.\)*$
That is:
lines: ^___$
...that consist of 0 or more characters \(___.\)*
...at which the word CODE: \
...is not matched: \(___\)\...@!
Thank you. That worked perfectly.
Regular expressions are tricky.
James
--
You received this message from the "vim_use" maillist.
D
On Wed, 10 Mar 2010, James Beck wrote:
> Hi,
>
> This might just drive me crazy. I've been trying to match lines that
> do NOT contain the word CODE.
>
> \(^.*\.*$\)\...@!
> If I take away the /@!, it matches all the lines that I'm looking to exclude!
Try:
^\(\(\\)\...@!.\)*$
That is:
lines:
Hi,
This might just drive me crazy. I've been trying to match lines that do
NOT contain the word CODE.
\(^.*\.*$\)\...@!
If I take away the /@!, it matches all the lines that I'm looking to
exclude!
I've searched websites and tried everything I can find. What am I doing
wrong?
Thanks!
On Wed, 2010-03-10 at 12:23 -0800, Olivier Guéry wrote:
>
> On Mar 8, 10:14 pm, Dotan Cohen wrote:
> with it. Waiting for an editor to be the on of my dreams !
> >
> > Kate, the KDE Advanced Text Editor, has a VI mode and supports
> > proportional fonts! To get the feature in Koffice, please comm
On Mar 8, 10:14 pm, Dotan Cohen wrote:
with it. Waiting for an editor to be the on of my dreams !
>
> Kate, the KDE Advanced Text Editor, has a VI mode and supports
> proportional fonts! To get the feature in Koffice, please comment in
> support of this feature request:
>
> VI mode, like Kate ha
I success to store both type of information of cppCheck by this
command but :
silent exe '!cppCheck ' . a:dir . ' -a --enable=all --template gcc 1>
infos.txt 2> cppcheck.out'
cfile cppcheck.out
copen
Opening report in cppcheck.out when it is finished
progress infos.txt th
When I press CxCo the cursor moves to the end of the first suggested
word.
I want it to stay where it is, so that as I type matching suggestions
show up.
As a solution, I could somehow make it select the original version as
the default suggestion.. any idea?
--
You received this message from the
Am 10.03.2010 18:23, schrieb Tim Chase:
Gary Johnson wrote:
I thought that a refinement of
:try | normal n | catch | n | endtry
with 'nowrapscan' set might work, but even that much didn't work for
me. I just got the error messages
Error detected while processing :
E385: search hit BOTTOM with
> The approach I took is:
>
> function! CppCheck()
> silent exe '!cppcheck --enable=all --verbose --template gcc * 2>
> cppcheck.out'
> cfile cppcheck.out
> copen
> endfunction
The approach you took don't give me more than I had at the beginning
but my goal maybe was not understand.
From: vim_use@googlegroups.com [vim_...@googlegroups.com] On Behalf Of Germain
[germain_vallve...@yahoo.fr]
Sent: Wednesday, March 10, 2010 4:04 AM
To: vim_use
Subject: vim-latex, acute letter
Hello
I just start to use the latex-suite plugins which looks like
promising. Nevertheless, I can not
It looks that you gave me a good direction because the :set ft=verilog
does work.
But I am not satisfied yet because I put
filetype plugin indent on
on my .vimrc & .gvimrc and it does not help.
And another thing that you can educate me:
How does the vim understand that this script should be loa
Hi,
The approach I took is:
function! CppCheck()
silent exe '!cppcheck --enable=all --verbose --template gcc * 2>
cppcheck.out'
cfile cppcheck.out
copen
endfunction
You can update it to use whatever directory you please. The only
drawback is that cppcheck.out is left hanging around.
> It seems to work for me. I created the following test script,
My bad, I realized that the command had an alias in my .bashrc to pass
some arguments to produce output in stderr. With vim's bash shell not
being a login shell, .bashrc wasn't sources so the alias was not
there.
Cheers!
Chris
Hi,
I use cppCheck and would use both streaming data output at level 0 and
1.
How can I retrieve them ?
I have tried with this one :
func! AnalysisWithCppCheck(dir)
set errorformat=%f:%l:\ %m
let l:temp = tempname()
"call EchoAndWait(l:temp,1000)
let cmd = "cp
On 2010-03-10, Tim Chase wrote:
> Gary Johnson wrote:
> >On 2010-03-10, pixelterra wrote:
> >>seems some variation of :vimgrep may work, but i found the docs
> >>cryptic.
> >
> >I thought that a refinement of
> >
> >:try | normal n | catch | n | endtry
> >
> >with 'nowrapscan' set might work, b
On Wed, Mar 10, 2010 at 7:07 AM, Jürgen Krämer wrote:
>
> Hi,
>
> j.hofm...@e-punkt.eu wrote:
>>
>> I d like to do the following:
>>
>> - remember the current value of an option, i.e. 'enc' , into a variable by
>> one vim script
>>
>> - Doing some stuff, which changes the option
>>
>> - re-set th
On Wed, March 10, 2010 6:16 pm, Andy Wokula wrote:
> In a mapping:
>
> :nn n &ws \|\| search("","nW") ? "n" : ":bnextggn"
> :nn N &ws \|\| search("","bnW") ? "N" : ":bprevG$N"
>
I tried using vimgrep:
fu! Files()
let list=[]
for id in range(1,bufnr('$'))
if bufliste
Gary Johnson wrote:
On 2010-03-10, pixelterra wrote:
seems some variation of :vimgrep may work, but i found the docs
cryptic.
I thought that a refinement of
:try | normal n | catch | n | endtry
with 'nowrapscan' set might work, but even that much didn't work for
me. I just got the error
Am 10.03.2010 17:01, schrieb Ben Fritz:
On Mar 10, 9:24 am, pixelterra wrote:
Like everyone, I use / and ? all day long, and use 'n' to go to the
next match. Often, instead of starting again at the top of the page, I
wish my 'n' (or some alternative) would go on to the next buffer/tab
instead o
On 2010-03-10, pixelterra wrote:
> seems some variation of :vimgrep may work, but i found the docs
> cryptic.
I thought that a refinement of
:try | normal n | catch | n | endtry
with 'nowrapscan' set might work, but even that much didn't work for
me. I just got the error messages
Error
On Mar 9, 5:01 pm, Paul wrote:
> When I have multiple tabs open and close one, I am not taken back to the
> previously viewed tab. For example, I have two tabs open. I am on the first
> tab and I :tabe a new file, so I now have three tabs open, with the current
> tab being the one in the midd
On 2010-03-11, Philip Rhoades wrote:
> People,
>
> I have this in my vimrc:
>
> autocmd BufWritePost *.rb !chmod 770 %
>
> but I would like to make the chmod conditional on the file NOT already
> currently being executable - do I need a function to do this?
One of these should
seems some variation of :vimgrep may work, but i found the docs
cryptic.
--
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 http://www.vim.org/maillist.php
On Mar 10, 8:07 am, yorams70 wrote:
> Hi.
> I am trying to install vim script: verilog_emacsauto.vim
> fromhttp://www.vim.org/scripts/script.php?script_id=1875
> The script runs ok when I load it manually from the gvim gui.
>
> However I did not succeed to install it.
>
> The script description
On 2010-03-10, Chris Sutcliffe wrote:
> > I'd like to capture the stderr output from a program and capture it in
> > a quick fix window. So far I've tried:
> >
> > :!command 2>command.out
> > :cf command.out
> > :copen
> >
> > However, when running 'command 2>command.out' from within vim the
> > c
On Mar 10, 9:24 am, pixelterra wrote:
> Like everyone, I use / and ? all day long, and use 'n' to go to the
> next match. Often, instead of starting again at the top of the page, I
> wish my 'n' (or some alternative) would go on to the next buffer/tab
> instead of the top of the page.
>
> Is the
Like everyone, I use / and ? all day long, and use 'n' to go to the
next match. Often, instead of starting again at the top of the page, I
wish my 'n' (or some alternative) would go on to the next buffer/tab
instead of the top of the page.
Is there a setting or command for this? I've looked around
Hi.
I am trying to install vim script: verilog_emacsauto.vim from
http://www.vim.org/scripts/script.php?script_id=1875
The script runs ok when I load it manually from the gvim gui.
However I did not succeed to install it.
The script description says:
install details
Download this script and put
People,
I have this in my vimrc:
autocmd BufWritePost *.rb !chmod 770 %
but I would like to make the chmod conditional on the file NOT already
currently being executable - do I need a function to do this?
Thanks,
Phil.
--
Philip Rhoades
GPO Box 3411
Sydney NSW 2001
A
> you might be able to do this by setting the 'shellredir' option to an
> appropriate value before running the command. Something like
>
> :set shellredir=>%s\ 2>command.out
>
> should work, but I haven't tested it.
Unfortunately it doesn't work. In fact, command.out is not generated
at all. I
Hi,
Chris Sutcliffe wrote:
>
> I'd like to capture the stderr output from a program and capture it in
> a quick fix window. So far I've tried:
>
> :!command 2>command.out
> :cf command.out
> :copen
>
> However, when running 'command 2>command.out' from within vim the
> command.out file is emp
> I'd like to capture the stderr output from a program and capture it in
> a quick fix window. So far I've tried:
>
> :!command 2>command.out
> :cf command.out
> :copen
>
> However, when running 'command 2>command.out' from within vim the
> command.out file is empty. Running this outside of vim,
Hi All,
I'd like to capture the stderr output from a program and capture it in
a quick fix window. So far I've tried:
:!command 2>command.out
:cf command.out
:copen
However, when running 'command 2>command.out' from within vim the
command.out file is empty. Running this outside of vim, command
Hi,
j.hofm...@e-punkt.eu wrote:
>
> I d like to do the following:
>
> - remember the current value of an option, i.e. 'enc' , into a variable by
> one vim script
>
> - Doing some stuff, which changes the option
>
> - re-set the option with the remembered value by another vim script.
>
> Wha
Hi,
I d like to do the following:
- remember the current value of an option, i.e. 'enc' , into a variable by
one vim script
- Doing some stuff, which changes the option
- re-set the option with the remembered value by another vim script.
What would be the syntax for this remembering and setti
On Mar 9, 7:17 pm, Gary Johnson wrote:
> For what it's worth, the output format of the ls command varies
> among different Unix systems, so there is no one rule for ls.
Hi Gary,
You are right. It seems that the rule used in netrw is approximately
the same as the one used in hp True64 unix/CDE wit
Hello
I just start to use the latex-suite plugins which looks like
promising. Nevertheless, I can not use the é letter. If I it the é key
of my AZERTY keybord this do nothing !
This FAQ does not fix the problem
http://vim-latex.sourceforge.net/index.php?subject=faq&title=FAQ#faq-e-acute
I still
thank you :)
--
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 http://www.vim.org/maillist.php
59 matches
Mail list logo