Re: viw / how to select a one char word ?

2020-02-05 Thread M Kelly
Hi, Yes, I'll wager this has something to do with my terminal and its terminfo capabilities. thx, -m On Monday, February 3, 2020 at 8:45:14 AM UTC-5, Tony Mechelynck wrote: > > On Mon, Feb 3, 2020 at 2:33 PM M Kelly > > wrote: > > > > Hi, > > > > ok I found my error and fixed it. It was

Re: Triplicate text after mix-matching vim and nvi

2020-02-05 Thread Tim Chase
On 2020-02-05 08:38, 'Ottavio Caruso' via vim_use wrote: > the command works in both vim and nvi. The remap only in vim. I'll > try to find a way of making it work in nvi, but this would be off > topic. Ah, good point. The "" notation is a vim thing. You can either use some other key such as

Re: Triplicate text after mix-matching vim and nvi

2020-02-05 Thread 'Ottavio Caruso' via vim_use
On Wed, 5 Feb 2020 at 08:38, Ottavio Caruso wrote: > > On Tue, 4 Feb 2020 at 14:10, Christian Brabandt wrote: > > > > > > On Di, 04 Feb 2020, Tim Chase wrote: > > > > > On 2020-02-04 14:43, Christian Brabandt wrote: > > > > On Di, 04 Feb 2020, 'Ottavio Caruso' via vim_use wrote: > > > > > 1) dd

Re: Triplicate text after mix-matching vim and nvi

2020-02-05 Thread 'Ottavio Caruso' via vim_use
On Tue, 4 Feb 2020 at 14:10, Christian Brabandt wrote: > > > On Di, 04 Feb 2020, Tim Chase wrote: > > > On 2020-02-04 14:43, Christian Brabandt wrote: > > > On Di, 04 Feb 2020, 'Ottavio Caruso' via vim_use wrote: > > > > 1) dd > > > > 2) [shift] + g > > > > 3) p > > > > > > :1t$ > > > > That

Re: Triplicate text after mix-matching vim and nvi

2020-02-05 Thread 'Ottavio Caruso' via vim_use
On Tue, 4 Feb 2020 at 13:27, Tony Mechelynck wrote: > The following mapping will move the first line from top to bottom of > the file (at least in Vim in 'nocompatible' mode, I'm not sure about > vi (or 'compatible' Vim) and nvi): > > :map :1d$put > > ( rather than | to avoid interpreting the