On 2009-11-17, Peng Yu wrote:
> $ grep -H -n if /etc/profile>/tmp/grep_output.txt
> $ cat /tmp/grep_output.txt
> /etc/profile:4:if [ -d /etc/profile.d ]; then
> /etc/profile:6:if [ -r $i ]; then
> /etc/profile:13:if [ "$PS1" ]; then
> /etc/profile:14: if [ "$BASH" ]; then
> /etc/profile:16:
On Wed, Nov 18, 2009 at 04:53, wrote:
> > > Is there a mechanism available, which fills automagically the missing
> > > space with " " when doing a cf or cw with a shorter word as the
> > > replacement or (other situation) "eats up" space, when replaceing is
> > > done with a longer word as in
>
On Tue, 17 Nov 2009, Peng Yu wrote:
>
>
>
> John Beckett wrote:
> > Peng Yu wrote:
> > > $ grep -H -n if /etc/profile>/tmp/grep_output.txt $ cat
> > > /tmp/grep_output.txt /etc/profile:4:if [ -d /etc/profile.d ]; then
> > > /etc/profile:6:if [ -r $i ]; then
> > > /etc/profile:13:if [ "$PS1"
John Beckett wrote:
> Peng Yu wrote:
> > $ grep -H -n if /etc/profile>/tmp/grep_output.txt $ cat
> > /tmp/grep_output.txt /etc/profile:4:if [ -d /etc/profile.d ]; then
> > /etc/profile:6:if [ -r $i ]; then
> > /etc/profile:13:if [ "$PS1" ]; then
> > /etc/profile:14: if [ "$BASH" ]; then
> >
Peng Yu wrote:
> $ grep -H -n if /etc/profile>/tmp/grep_output.txt $ cat
> /tmp/grep_output.txt /etc/profile:4:if [ -d /etc/profile.d ]; then
> /etc/profile:6:if [ -r $i ]; then
> /etc/profile:13:if [ "$PS1" ]; then
> /etc/profile:14: if [ "$BASH" ]; then
> /etc/profile:16:if [ -f /etc/ba
Peng Yu wrote:
> :%s/a/b
>
> The above command replace the first appearance of 'a' to 'b'
> in all lines. I'm wondering how to replace the last 'a' instead?
%s/.*\zsa/b/
John
--~--~-~--~~~---~--~~
You received this message from the "vim_use" maillist.
For more i
$ grep -H -n if /etc/profile>/tmp/grep_output.txt
$ cat /tmp/grep_output.txt
/etc/profile:4:if [ -d /etc/profile.d ]; then
/etc/profile:6:if [ -r $i ]; then
/etc/profile:13:if [ "$PS1" ]; then
/etc/profile:14: if [ "$BASH" ]; then
/etc/profile:16:if [ -f /etc/bash.bashrc ]; then
/etc/prof
Gary Johnson [09-11-18 01:52]:
>
> On 2009-11-18, meino.cra...@gmx.de wrote:
> > Hi,
> >
> > while editing C/C++-source I often came into the following situation:
> >
> > This is the "original" code
> >
> > a_pulses = times * proportional_x ;
> > b_pulses = times * proportiona
:%s/a/b
The above command replace the first appearance of 'a' to 'b' in all
lines. I'm wondering how to replace the last 'a' instead?
--~--~-~--~~~---~--~~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillis
On 2009-11-18, meino.cra...@gmx.de wrote:
> Hi,
>
> while editing C/C++-source I often came into the following situation:
>
> This is the "original" code
>
> a_pulses = times * proportional_x ;
> b_pulses = times * proportional_y ;
> c_pulses = times * proportional_z
Hi,
while editing C/C++-source I often came into the following situation:
This is the "original" code
a_pulses = times * proportional_x ;
b_pulses = times * proportional_y ;
c_pulses = times * proportional_z ;
...then I see, that the last line must be correc
2009/11/17 Dominique Pellé :
>
> Mahmoud Abdelkader wrote:
>>
>> Sometimes, in the middle of a gVim session with multiple tabs open as
>> well as various splits in those tabs, my gVim will just segfaut with
>> the stack trace below (http://paste.pocoo.org/show/151270/)
>>
>> Error message (full e
Dennis Benzinger schrieb:
> Hello,
>
> my Vim 7.2.293 reproducibly crashes while editing the attached XML file
> crash.xml. You probably need the attached .vimrc-crash to reproduce it:
> 1. Start vim -u .vimrc-crash crash.xml
> 2. 98gg (Start of comment)
> 3. o (Open line below)
> 4. Press Esc
Thanks very much, I will try this and let you all know how it goes.
Hopefully one of these issues have been fixed:)
On Tue, Nov 17, 2009 at 1:05 PM, Tony Mechelynck
wrote:
> On 17/11/09 21:11, Mahmoud Abdelkader wrote:
>>
>> Sometimes, in the middle of a gVim session with multiple tabs open as
>
HI,
I have this content :
Each begin of lines is the same. Only nerty attribute is different.
I wanna have this content :
How can I do this tranformation ?
Thanks
--~--~-~--~~~---~--~~
You received this message from the "vim_use" maillist.
For mo
On 17/11/09 21:11, Mahmoud Abdelkader wrote:
>
> Sometimes, in the middle of a gVim session with multiple tabs open as
> well as various splits in those tabs, my gVim will just segfaut with
> the stack trace below (http://paste.pocoo.org/show/151270/)
>
> Error message (full error message here: ht
Forgot to mention the OS and Vim version. I get this error on several
Ubuntu Versions (e.g. 9.10 64bit) with the following Vim version:
VIM - Vi IMproved 7.2 (2008 Aug 9, compiled Nov 17 2009 21:05:16)
Inklusive der Korrekturen: 1-293
Übersetzt von dennis.benzin...@gmx.net
Riesige Version mit GT
Mahmoud Abdelkader wrote:
>
> Sometimes, in the middle of a gVim session with multiple tabs open as
> well as various splits in those tabs, my gVim will just segfaut with
> the stack trace below (http://paste.pocoo.org/show/151270/)
>
> Error message (full error message here: http://paste.pocoo.o
Thanks a lot.
Fine :)
On 17 nov, 10:27, Michael Wookey wrote:
> 2009/11/17 epanda :
>
> > Where can I find the download link of cscope or with what soft can I
> > build sources of cscope out of DJGPP.
>
> You can find pre-compiled binaries here:
>
> http://code.google.com/p/cscope-win32
--~--~--
Hello,
my Vim 7.2.293 reproducibly crashes while editing the attached XML file
crash.xml. You probably need the attached .vimrc-crash to reproduce it:
1. Start vim -u .vimrc-crash crash.xml
2. 98gg (Start of comment)
3. o (Open line below)
4. Press Esc
5. Move Cursor to end of comment line (init
Sometimes, in the middle of a gVim session with multiple tabs open as
well as various splits in those tabs, my gVim will just segfaut with
the stack trace below (http://paste.pocoo.org/show/151270/)
Error message (full error message here: http://paste.pocoo.org/show/151270/)
glibc detected *** g
On Tue, Nov 17, 2009 at 2:51 PM, Christian Brabandt wrote:
>
> Hi Matt!
Hi!
> On Di, 17 Nov 2009, Matt Wozniski wrote:
>
>> I'm surprised no one has suggested:
>>
>> :nnoremap
>>
>> Maybe I'm missing some subtlety that makes that incorrect?
>
> I simply don't know this, since I don't use neith
Hi Matt!
On Di, 17 Nov 2009, Matt Wozniski wrote:
> I'm surprised no one has suggested:
>
> :nnoremap
>
> Maybe I'm missing some subtlety that makes that incorrect?
I simply don't know this, since I don't use neither :tag nor :ptag
I usually do not use vim for programming and simply suggest
Hi Matt!
On Di, 17 Nov 2009, Matt Wozniski wrote:
> I don't think that this should be hard to do using matchadd() and
> friends. If you include the map that you're currently using, someone
> might be able to suggest how to get it to highlight the newly
> corrected word.
Oh yes, that is true.
On Tue, Nov 17, 2009 at 11:01 AM, Christian Brabandt wrote:
>
> On Tue, November 17, 2009 4:16 pm, Robbo wrote:
>>
>> I've just looked for :h cword
>> but if i write
>> :map :ptag
>>
>> it doesn't work.
>
> Try if this works:
> :map :exe ":ptag " . expand("")
I'm surprised no one has suggested
On Tue, Nov 17, 2009 at 9:06 AM, Christian Brabandt wrote:
>
> On Tue, November 17, 2009 12:33 pm, Eric Smith wrote:
>>
>> The new spelling system for vim is great and I use a macro to
>> automatically "correct" misspelt words. When I am really sloppy
>> this automatic "correction" (to the first
I got the executable from http://www.vim.org/download.php, the PC: MS-
DOS and MS-Windows Self-installing executable.
Here's the ":version" output from my console vim:
:version
VIM - Vi IMproved 7.2 (2008 Aug 9, compiled Aug 9 2008 18:40:30)
MS-Windows 32-bit console version
Compiled by b...@k
Yogi wrote:
> Thanks Jürgen, Christian, and Tim. This works like a breeze now.
> vim_use list is awesome. :-)
>
> Regards,
> Yogi
>
> On Nov 17, 11:02 am, Tim Chase wrote:
>
>>> but it does not seem to work. Apparently, "match" can be used to match
>>> [*only one*] group. So, in the above exam
On Nov 17, 9:41 am, Yogi wrote:
> Hi there,
>
> I want to be able to highlight bold, italics, and underlined words in
> a text file. My solution was to use
>
> hi QuickBold gui=bold
> hi QuickItalic gui=italic
> hi QuickUnderline gui=underline
>
> match QuickBold '\[\*\zs.\{-}\ze\*\]'
> match Q
On 2009-11-17, Frank Shute wrote:
> On Fri, Nov 13, 2009 at 08:24:07PM -0800, Jason wrote:
> >
> >
> > I would like to set the initial window size and position of Gvim in
> > Ubuntu. In my .vimrc file, I have:
> > if has("gui_running")
> > " GUI is running or is about to start.
> > " Maximize
> but it does not seem to work. Apparently, "match" can be used to match
> [*only one*] group. So, in the above example, underlining works (since
> it appears last), but bold and italics don't.
For a small set of them, there are
:match
:2match
:3match
For more than 3 flavors, you can u
On Tue, November 17, 2009 4:16 pm, Robbo wrote:
>
> I've just looked for :h cword
> but if i write
> :map :ptag
>
> it doesn't work.
Try if this works:
:map :exe ":ptag " . expand("")
regards,
Christian
--
:wq
--~--~-~--~~~---~--~~
You received this message
On 2009-11-17, Robbo wrote:
> I've just looked for :h cword
> but if i write
> :map :ptag
>
> it doesn't work.
A couple of options:
:map :exe "ptag" expand("")
:map :ptag
You may want to add to the end of each of those mappings to
cause the ptag command to be executed.
See
On Tue, November 17, 2009 4:41 pm, Yogi wrote:
> I want to be able to highlight bold, italics, and underlined words in
> a text file. My solution was to use
>
> hi QuickBold gui=bold
> hi QuickItalic gui=italic
> hi QuickUnderline gui=underline
>
> match QuickBold '\[\*\zs.\{-}\ze\*\]'
> match Qui
Robbo wrote:
> also
>
> :command Ptag :ptag
>
> doesn't work
>
> On 17 Nov, 16:16, Robbo wrote:
>
>> I've just looked for :h cword
>> but if i write
>> :map :ptag
>>
>> it doesn't work.
>>
>> Thank you.
>>
Please bottom post on this list. Quote a small (relevant) part of the
message y
Hi there,
I want to be able to highlight bold, italics, and underlined words in
a text file. My solution was to use
hi QuickBold gui=bold
hi QuickItalic gui=italic
hi QuickUnderline gui=underline
match QuickBold '\[\*\zs.\{-}\ze\*\]'
match QuickItalic '\[\/\zs.\{-}\ze\/\]'
match QuickUnderline
also
:command Ptag :ptag
doesn't work
On 17 Nov, 16:16, Robbo wrote:
> I've just looked for :h cword
> but if i write
> :map :ptag
>
> it doesn't work.
>
> Thank you.
>
> On 17 Nov, 11:15, "Christian Brabandt" wrote:
>
> > On Tue, November 17, 2009 11:02 am, Robbo wrote:
> > > in a mapping
I've just looked for :h cword
but if i write
:map :ptag
it doesn't work.
Thank you.
On 17 Nov, 11:15, "Christian Brabandt" wrote:
> On Tue, November 17, 2009 11:02 am, Robbo wrote:
> > in a mapping what is the placeholedr for the "word under cursor".
>
> :h cword
>
> regards,
> Christian
--~
On Tue, November 17, 2009 12:33 pm, Eric Smith wrote:
>
> The new spelling system for vim is great and I use a macro to
> automatically "correct" misspelt words. When I am really sloppy
> this automatic "correction" (to the first option in the list
> suggestions) is incorrect. Some embarrassing
On Nov 16, 4:26 am, Fabien Meghazi wrote:
> Is it possible for vim to have a kind of "additional" highlight layer ?
>
> In the case of templates, the source could be html, svg, xml, plain
> text, whatever.
> But if you would like to add the template syntax highlighting, how
> could you make thi
The new spelling system for vim is great and I use a macro to
automatically "correct" misspelt words. When I am really sloppy
this automatic "correction" (to the first option in the list
suggestions) is incorrect. Some embarrassing emails have ensued
*blush*.
I would very much like to have "cor
bgold12 wrote:
What is your name?
> I recently added a couple of directories to my path and then found
> that the command-line shell command (i.e. ":!ls") stopped working.
> More specifically, the shell didn't seem to be able to find any of my
> cygwin or otherwise utilities. I have been able t
On Tue, November 17, 2009 11:02 am, Robbo wrote:
> in a mapping what is the placeholedr for the "word under cursor".
:h cword
regards,
Christian
--~--~-~--~~~---~--~~
You received this message from the "vim_use" maillist.
For more information, visit http://www.v
Hi,
in a mapping what is the placeholedr for the "word under cursor".
Thank you
--~--~-~--~~~---~--~~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~-
2009/11/17 epanda :
> Where can I find the download link of cscope or with what soft can I
> build sources of cscope out of DJGPP.
You can find pre-compiled binaries here:
http://code.google.com/p/cscope-win32
--~--~-~--~~~---~--~~
You received this message from
45 matches
Mail list logo