Re: Problem with function

2019-01-03 Thread Tony Mechelynck
On Thu, Jan 3, 2019 at 10:09 PM Cesar Romani wrote: > > I'm using vim 8.1.682 on Windows. > I'd like to know what is wrong with following function?: > > function! Finalize() >:'<,'>join >:s/ /,/g > endfunction > vmap ,f :call Finalize() > > If I visually select the following text: > >

Problem with function

2019-01-03 Thread Cesar Romani
I'm using vim 8.1.682 on Windows. I'd like to know what is wrong with following function?: function! Finalize() :'<,'>join :s/ /,/g endfunction vmap ,f :call Finalize() If I visually select the following text: 2.233 2.204 2.077 2.066 1.987 6.381 6.372 6.427 6.437 6.152 6.115 It correctly

display warning msg a little longer or until another keypress

2019-01-03 Thread M Kelly
Hi everyone, An example of this would be when I have shm-=s and I search for a string, when it wraps I get the warning msg "search hit BOTTOM, continuing at TOP" and I have changed my WarngingMsg highlight to make this easier to see, but without disabling wrapscan, I often find the warning msg