Re: annoying PasteStart/PasteEnd

2017-01-25 Thread Johannes-Maria Kaltenbach
On Tue, Jan 24, 2017 at 03:58:14PM +0100, Bram Moolenaar wrote: > Found it: part of the change was missing from the patch. > So it worked for me but nobody else. Thanks. I've updated now to vim-8.0.237 and it works fine. Best regards, Johannes-Maria -- -- You received this message from the "v

GNU screen hardstatus line

2017-01-25 Thread Allan
Hi Is there a way to note down the starting time or the duration of the current screen session? I always resume after a long time after and feel it would be helpful to know when the screen session was started. Thanks -- -- You received this message from the "vim_use" maillist. Do not top-pos

Re: GNU screen hardstatus line

2017-01-25 Thread Nikolay Aleksandrovich Pavlov
2017-01-25 19:12 GMT+03:00 Allan : > Hi > > Is there a way to note down the starting time or the duration of the current > screen session? I always resume after a long time after and feel it would be > helpful to know when the screen session was started. `ps -p {process id} -o etime` (for the cu

Re: GNU screen hardstatus line

2017-01-25 Thread Erik Falor
On Wed, Jan 25, 2017 at 08:12:25AM -0800, Allan wrote: > Hi > > Is there a way to note down the starting time or the duration of the current > screen session? I always resume after a long time after and feel it would be > helpful to know when the screen session was started. This is not really a

Re: GNU screen hardstatus line

2017-01-25 Thread Allan
Thanks ewfalor and ZyX, I see what you mean. ps -ostart_time $(echo $STY | cut -d. -f1) will give me the start time and ps -p $(echo $STY | cut -d. -f1) -o etime will give me the elapsed time. I finally end up with using the following backtick in my .screenrc: backtick 0 30 30 sh -c 'ps

Re: How to make the curly brace on the same line when press enter between them ?

2017-01-25 Thread Tony Mechelynck
On Wed, Jan 25, 2017 at 7:11 PM, Zhe Lee wrote: > here is the thing: > {|}, | is my curve when I press enter now the curly braces will not on the > same line. > How to fix it? > If you mean they are not in the same (vertical) _column_ then I'm not sure; it may or may not be possible, check in pa

Re: How to make the curly brace on the same line when press enter between them ?

2017-01-25 Thread Tony Mechelynck
P.S. See also «:help 'cinoptions'» if it is a C-like language. Best regards, Tony. On Wed, Jan 25, 2017 at 9:23 PM, Tony Mechelynck wrote: > On Wed, Jan 25, 2017 at 7:11 PM, Zhe Lee wrote: >> here is the thing: >> {|}, | is my curve when I press enter now the curly braces will not on the >> sa

idx-edx: Different Character count in Vim and Python

2017-01-25 Thread rameo
Example: s="I like crème caramel but not only caramel I also like crème fraîche." Searching the idx-edx numbers of the matches of the word "crème": echo matchstrpos(s, "crème") --> 7,13 echo matchstrpos(s, "crème",14) --> 55,61 I do have a python function in which I transform the above stri

Re: How to make the curly brace on the same line when press enter between them ?

2017-01-25 Thread Charles E Campbell
Tony Mechelynck wrote: > P.S. See also «:help 'cinoptions'» if it is a C-like language. > > Best regards, > Tony. > > On Wed, Jan 25, 2017 at 9:23 PM, Tony Mechelynck > wrote: >> On Wed, Jan 25, 2017 at 7:11 PM, Zhe Lee wrote: >>> here is the thing: >>> {|}, | is my curve when I press enter now t

Re: How to make the curly brace on the same line when press enter between them ?

2017-01-25 Thread Zhe Lee
On Thursday, January 26, 2017 at 7:36:31 AM UTC+8, DrChip wrote: > Tony Mechelynck wrote: > > P.S. See also «:help 'cinoptions'» if it is a C-like language. > > > > Best regards, > > Tony. > > > > On Wed, Jan 25, 2017 at 9:23 PM, Tony Mechelynck > > wrote: > >> On Wed, Jan 25, 2017 at 7:11 PM, Zhe

Re: How to make the curly brace on the same line when press enter between them ?

2017-01-25 Thread Zhe Lee
On Thursday, January 26, 2017 at 4:23:09 AM UTC+8, Tony Mechelynck wrote: > On Wed, Jan 25, 2017 at 7:11 PM, Zhe Lee wrote: > > here is the thing: > > {|}, | is my curve when I press enter now the curly braces will not on the > > same line. > > How to fix it? > > > > If you mean they are not in

Re: How to make the curly brace on the same line when press enter between them ?

2017-01-25 Thread Zhe Lee
On Thursday, January 26, 2017 at 4:23:09 AM UTC+8, Tony Mechelynck wrote: > On Wed, Jan 25, 2017 at 7:11 PM, Zhe Lee wrote: > > here is the thing: > > {|}, | is my curve when I press enter now the curly braces will not on the > > same line. > > How to fix it? > > > > If you mean they are not in

Re: How to make the curly brace on the same line when press enter between them ?

2017-01-25 Thread Zhe Lee
On Thursday, January 26, 2017 at 4:23:09 AM UTC+8, Tony Mechelynck wrote: > On Wed, Jan 25, 2017 at 7:11 PM, Zhe Lee wrote: > > here is the thing: > > {|}, | is my curve when I press enter now the curly braces will not on the > > same line. > > How to fix it? > > > > If you mean they are not in

Re: How to make the curly brace on the same line when press enter between them ?

2017-01-25 Thread Gary Johnson
On 2017-01-25, Zhe Lee wrote: > On Thursday, January 26, 2017 at 4:23:09 AM UTC+8, Tony Mechelynck wrote: > > On Wed, Jan 25, 2017 at 7:11 PM, Zhe Lee wrote: > > > here is the thing: > > > {|}, | is my curve when I press enter now the curly braces will not on > > > the same line. > > > How to fix

Re: How to make the curly brace on the same line when press enter between them ?

2017-01-25 Thread Zhe Lee
On Thursday, January 26, 2017 at 4:23:09 AM UTC+8, Tony Mechelynck wrote: > On Wed, Jan 25, 2017 at 7:11 PM, Zhe Lee wrote: > > here is the thing: > > {|}, | is my curve when I press enter now the curly braces will not on the > > same line. > > How to fix it? > > > > If you mean they are not in

Re: How to make the curly brace on the same line when press enter between them ?

2017-01-25 Thread Zhe Lee
On Thursday, January 26, 2017 at 10:06:09 AM UTC+8, Gary Johnson wrote: > On 2017-01-25, Zhe Lee wrote: > > On Thursday, January 26, 2017 at 4:23:09 AM UTC+8, Tony Mechelynck wrote: > > > On Wed, Jan 25, 2017 at 7:11 PM, Zhe Lee wrote: > > > > here is the thing: > > > > {|}, | is my curve when I pr

Re: How to make the curly brace on the same line when press enter between them ?

2017-01-25 Thread Gary Johnson
On 2017-01-25, Zhe Lee wrote: > On Thursday, January 26, 2017 at 10:06:09 AM UTC+8, Gary Johnson wrote: > > On 2017-01-25, Zhe Lee wrote: > > > On Thursday, January 26, 2017 at 4:23:09 AM UTC+8, Tony Mechelynck wrote: > > > > On Wed, Jan 25, 2017 at 7:11 PM, Zhe Lee wrote: > > > > > here is the thi