On 2015-11-10 07:38, shawn wilson wrote:
> How about this - is there an event that I can use to just redefine
> what vim already made with the same information?
I'm not sure what you mean by "an event". In my initial reply the
:let @a=substitute(@a, 'foo', 'bar', 'g')
was doing an in-place
On Tue, Nov 10, 2015 at 11:05 AM, Ben Fritz wrote:
> On Tuesday, November 10, 2015 at 9:44:33 AM UTC-6, shawn wilson wrote:
>> On Tue, Nov 10, 2015 at 10:19 AM, Tim Chase wrote:
>> > On 2015-11-10 07:38, shawn wilson wrote:
>> >> How about this -
On Tuesday, November 10, 2015 at 9:44:33 AM UTC-6, shawn wilson wrote:
> On Tue, Nov 10, 2015 at 10:19 AM, Tim Chase wrote:
> > On 2015-11-10 07:38, shawn wilson wrote:
> >> How about this - is there an event that I can use to just redefine
> >> what vim already made with
On Tue, Nov 10, 2015 at 10:19 AM, Tim Chase wrote:
> On 2015-11-10 07:38, shawn wilson wrote:
>> How about this - is there an event that I can use to just redefine
>> what vim already made with the same information?
>
> I'm not sure what you mean by "an event".
An
Hello,
I am pretty sure this question has been already asked many times. I
apologize if that is the case.
I have been googling the topic for a while, and the problem is that I
found too many different ways to [theoretically] do it, so I am not
sure which one is the right one.
So let's say I only
On 2015-11-10, Jose Caballero wrote:
> Hello,
>
> I am pretty sure this question has been already asked many times. I
> apologize if that is the case.
> I have been googling the topic for a while, and the problem is that I
> found too many different ways to [theoretically] do it, so I am not
>
>>
>> au BufRead,BufNewFile *.myfile setfiletype myfile
>
> It would be better, i.e., more likely to work as you expect, if you
> instead put this line in ~/.vim/filetype.vim
>> ~/.vim/plugin/syntax/myfile.vim, with content
>>
>> if exists("b:current_syntax")
>> finish
>>
On 09/11/15 18:54, shawn wilson wrote:
>> 2) assign to it with the desired changes:
>>
>> :let @a=substitute(@a, 'foo', 'bar', 'g')
> Yeah, I've been pasting it and yanking it - just would be easier if i
> could : (or q:) and edit. I haven't been able to find any plugins
> to do this, so
How about this - is there an event that I can use to just redefine what vim
already made with the same information?
On Nov 10, 2015 6:35 AM, "Tim Chase" wrote:
> On 2015-11-10 09:12, Tim Ferguson wrote:
> > : let @a = a
> >
> > and that puts the content on the edit line
On 2015-11-10 09:12, Tim Ferguson wrote:
> : let @a = a
>
> and that puts the content on the edit line for you to edit it
> visually.
You have to deal with escaping issues here (and remember to quote
it). So it would be
:let @a='a'
:let @a="a"
but then go back and escape any
10 matches
Mail list logo