On 05/10/2011 11:43 PM, Bram Moolenaar wrote:
Hong Xu wrote:
I was testing under windows with MinGW.
Here is a C source file:
#include
int main(void)
{
eturn 0;
}
It includes a syntax error. I use the following commands to compile it:
:compiler gcc
:set makeprg=gcc
:mak %
I got t
On May 10, 12:36 pm, Nikunj Badjatya wrote:
> Hi Members,
>
> I have recently started to use VIM as my text editor. And I am amazed at its
> capabilities.
> I have a question to you all.
> I wanted to have a functionality such that whenever a new file with ".c"
> extention is created. It should
On May 9, 3:43 pm, sinbadwrote:
i am using cscope quickfix. from the quickfix
results i want to browse thru the entries whose
filename or file path matches a specific pattern
how can i achieve this.
Do you want to eliminate non-matching entries from the list, or just not
switch to them?
j
Hi Members,
I have recently started to use VIM as my text editor. And I am amazed at its
capabilities.
I have a question to you all.
I wanted to have a functionality such that whenever a new file with ".c"
extention is created. It should automatically be loaded with some pre known
content.
ex. Whe
2011/5/10 cyboman
> does anybody know how to do search of lines that don't contain a
> pattern:
>
> /pattern
>
> searches for a occurrence of a pattern, but i need a way to search for
> lines that don't have a pattern.
>
> please click reply to author when replying this thread.
>
> any help is ap
Vim's `/` command doesn't search for lines containing a pattern; it
searches for specific matches of a pattern. It is character-wise rather
than linewise. If you just want to find lines that don't match a
particular pattern, the easiest way it to just use grep, if you are on a
system that has a gre
* Tim Johnson [110509 17:49]:
> Using 7.2, Huge version with GTK2-GNOME GUI
> OS=ubuntu 10.04
>
> If I issue the following ex command
> set guifont=Monospace\ 9
> I get the font setting as expected.
>
> If I issue the following ex command
> set guifont=Monospace\ 9\ bold
> I get a font type tha
On 05/10/2011 11:51 AM, cyboman wrote:
does anybody know how to do search of lines that don't contain a
pattern:
/pattern
searches for a occurrence of a pattern, but i need a way to search for
lines that don't have a pattern.
You can use
/^\%(\%(pattern\)\@!.\)*$
or if you're performing a
On Tuesday, May 10, 2011 09:27:21 Nathan Neff wrote:
> I'm using a plugin (BufExplorer) that maps be,
> bs, etc. The BufKill
> plugin also maps quite a few things to bX
> I want b only (no other bX mappings) so that
> there's no delay when I type b.
> What's the best way to unmap or turn off th
On 2011-05-10, ZyX wrote:
> Reply to message «Re: Standard way to undo plugin mappings?»,
> sent 19:49:10 10 May 2011, Tuesday
> by Gary Johnson:
>
> > if strlen(maparg("}", "i"))
> if !empty(...)
>
> > if strlen(maparg("}", "i"))
> > iunmap }
> > endif
> silent! iunmap }
>
does anybody know how to do search of lines that don't contain a
pattern:
/pattern
searches for a occurrence of a pattern, but i need a way to search for
lines that don't have a pattern.
please click reply to author when replying this thread.
any help is appreciated.
--
You received this mess
Reply to message «Re: Standard way to undo plugin mappings?»,
sent 19:49:10 10 May 2011, Tuesday
by Gary Johnson:
> if strlen(maparg("}", "i"))
if !empty(...)
> if strlen(maparg("}", "i"))
> iunmap }
> endif
silent! iunmap }
> if strlen(maparg("}", "i"))
> iunmap
On 2011-05-10, Nathan Neff wrote:
> I'm using a plugin (BufExplorer) that maps be, bs,
> etc. The BufKill
> plugin also maps quite a few things to bX
>
> I want b only (no other bX mappings) so that there's no delay
> when I type b.
>
> What's the best way to unmap or turn off these mappings?
>
On May 10, 9:27 am, Nathan Neff wrote:
> What's the best way to unmap or turn off these mappings?
>
> I've looked for a switch or options in BufExplorer to turn off these
> mappings, but there is none.
>
This would be the best way, but if it's not available, then...
> I realize that I can comm
On May 9, 4:38 am, Venu Gopal wrote:
> Hi,
> I would like to know how to add a custom message to preview window.
> My requirement is as follows
> 1) When I keep a cursor on a word and press F4. It should open a preview
> window and show some message related to that word. That i've in a
> diction
[This message has also been posted.]
* Bram Moolenaar on Tuesday, May 10, 2011:
> Christian Ebert wrote:
>> Undefined symbols:
>> "_adjust_clip_reg", referenced from:
>> _normal_cmd in normal.o
>> ld: symbol(s) not found
>> collect2: ld returned 1 exit status
>> make[1]: *** [vim] Error 1
>>
Hong Xu wrote:
> I was testing under windows with MinGW.
>
>
> Here is a C source file:
>
> #include
>
> int main(void)
> {
>
> eturn 0;
> }
>
> It includes a syntax error. I use the following commands to compile it:
>
> :compiler gcc
> :set makeprg=gcc
> :mak %
>
> I got the follow
On May 10, 9:27 am, "Christian Brabandt" wrote:
> On Tue, May 10, 2011 3:42 pm, sinbad wrote:
> > just not switching to them will work for me too. i'm aware that there
> > are functions like getqflist() to
> > manipulate on the quickfix results. but i'm not too sure if i can
> > update that list
Christian Ebert wrote:
> The latest change breaks compilation, at least here on Mac OS
> 10.5.8:
>
> gcc -L/usr/local/lib -L/sw/lib -o vim objects/buffer.o objects/blowf=
> ish.o objects/charset.o objects/diff.o objects/digraph.o objects/edit.o obj=
> ects/eval.o objects/ex_cmds.o objects
I can confirm that the same problem exists when building on Arch Linux:
gcc -Wl,-E -Wl,-rpath,/usr/lib/perl5/core_perl/CORE -Wl,--hash-style=gnu
-Wl,--as-needed -L/usr/local/lib -Wl,--as-needed-o vim objects/buffer.o
objects/blowfish.o objects/charset.o objects/diff.o objects/digraph.o
o
Hi,
The latest change breaks compilation, at least here on Mac OS
10.5.8:
gcc -L/usr/local/lib -L/sw/lib -o vim objects/buffer.o
objects/blowfish.o objects/charset.o objects/diff.o objects/digraph.o
objects/edit.o objects/eval.o objects/ex_cmds.o objects/ex_cmds2.o
objects/ex_docmd.o ob
Hello,
I was testing under windows with MinGW.
Here is a C source file:
#include
int main(void)
{
eturn 0;
}
It includes a syntax error. I use the following commands to compile it:
:compiler gcc
:set makeprg=gcc
:mak %
I got the following in my qflist:
|| ex.c: In function 'main':
e
On Tue, May 10, 2011 3:42 pm, sinbad wrote:
> just not switching to them will work for me too. i'm aware that there
> are functions like getqflist() to
> manipulate on the quickfix results. but i'm not too sure if i can
> update that list. i thought there might
> be some easier solutions that folks
I'm using a plugin (BufExplorer) that maps be, bs,
etc. The BufKill
plugin also maps quite a few things to bX
I want b only (no other bX mappings) so that there's no delay
when I type b.
What's the best way to unmap or turn off these mappings?
I've looked for a switch or options in BufExplorer
On 5/10/2011 8:35 AM, Raghavendra D Prabhu wrote:
Hi,
I have been looking for ways in which comments can be concealed and
this behavior toggled when required. I am thinking of doing
this with something like
=
syntax match matchComment "\v^\s
On May 10, 3:31 pm, Ben Schmidt wrote:
> On 10/05/11 2:26 PM, sinbad wrote:
>
> > On May 9, 3:43 pm, sinbad wrote:
> >> i am using cscope quickfix. from the quickfix
> >> results i want to browse thru the entries whose
> >> filename or file path matches a specific pattern
> >> how can i achieve
Yukihiro Nakadaira wrote:
> http://www.vim.org/scripts/script.php?script_id=3580
> This page is broken. spam?
Yes, looks like link spam. Can someone remove it?
--
hundred-and-one symptoms of being an internet addict:
77. The phone company asks you to test drive their new PBX system
/// Bram
http://www.vim.org/scripts/script.php?script_id=3580
This page is broken. spam?
--
Yukihiro Nakadaira - yukihiro.nakada...@gmail.com
--
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
Hi,
I have been looking for ways in which comments can be concealed and
this behavior toggled when required.
I am thinking of doing this with something like
=
syntax match matchComment "\v^\s*#.*" conceal cchar=||
hi! link matchComme
Hello,
If I run a command like this: ":!somecommand | tee somefile", the
command is run buffered, and it would be tough to see the result
displayed on the screen if the output is long and it takes sometime for
'somecommand' to exit. Is there a way to run a command unbuffered inside
vim?
Tha
Can someone help me with this?
On Mon, May 9, 2011 at 3:08 PM, Venu Gopal wrote:
> Hi,
> I would like to know how to add a custom message to preview window.
> My requirement is as follows
> 1) When I keep a cursor on a word and press F4. It should open a preview
> window and show some message re
On 10/05/11 2:26 PM, sinbad wrote:
On May 9, 3:43 pm, sinbad wrote:
i am using cscope quickfix. from the quickfix
results i want to browse thru the entries whose
filename or file path matches a specific pattern.
how can i achieve this.
Do you want to eliminate non-matching entries from the li
The same might happen to this message. At this stage in composition,
Thunderbird is showing latin1 as the encoding; if it indeed goes out
like that, this message can serve as another test case.
Of course, it goes without saying that Groups broke with tradition and
didn't mangle that one. Maybe o
Ben Schmidt wrote:
> >> The same might happen to this message. At this stage in composition,
> >> Thunderbird is showing latin1 as the encoding; if it indeed goes out
> >> like that, this message can serve as another test case.
>
> Of course, it goes without saying that Groups broke with traditi
2011/5/10 Dominique Pellé :
> Ubuntu for some reasons changed gcc to compile with
> -D_FORTIFY_SOURCE=2 by default since Ubuntu-8.10
I didn't realise that, I think the default should be
_FORTIFY_SOURCE=0, and that's why I'm surprised that vim does not work
with the default.
> Vim was also compi
35 matches
Mail list logo