On Tue, 4 Feb 2020 at 09:03, Ottavio Caruso
wrote:
>
>
> At one point, I noticed that the size of this file was growing
> abnormally. Then, I realised that the entries were in duplicate or
> triplicate copies, that is, as if I had copied the whole file and then
> pasted it twice onto itself.
>
>
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
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
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
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
On 2020-02-04 09:03, 'Ottavio Caruso' via vim_use wrote:
> I have a file (man-pages.txt) where I have a list of man pages that
> I need to expand, for example:
>
> man 8 tcpdump
> man 1 login
> man 8 sysctl
> man 8 adduser
> man 5 adduser.conf
> man 8 rmuser
> man 8 useradd
> man 8 userdel
While
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 copies where Ottavio's command sequence moves, so he'd want
>
> :1m$
>
Oh, yes
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 copies where Ottavio's command sequence moves, so he'd want
:1m$
:-)
-tim
--
--
You received this message from the "vim_use"
On 2020-02-04 14: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
Or more simply
:map :1m$
Should work in vi, vim,
On Di, 04 Feb 2020, 'Ottavio Caruso' via vim_use wrote:
> Hi,
>
> Maybe this is off-topic but I hope you guys can help, as there's no
> specific maling list for classic vi/nvi.
>
> On my system (Linux/amd64 Debian 4.9.189) I have:
>
> - vim (vim 8.1)
> - vi (aliased to vim)
> - nvi
On Tue, Feb 4, 2020 at 10:04 AM 'Ottavio Caruso' via vim_use
wrote:
>
> Hi,
>
> Maybe this is off-topic but I hope you guys can help, as there's no
> specific maling list for classic vi/nvi.
>
> On my system (Linux/amd64 Debian 4.9.189) I have:
>
> - vim (vim 8.1)
> - vi (aliased to vim)
> - nvi
Hi,
Maybe this is off-topic but I hope you guys can help, as there's no
specific maling list for classic vi/nvi.
On my system (Linux/amd64 Debian 4.9.189) I have:
- vim (vim 8.1)
- vi (aliased to vim)
- nvi (nvi-1.81.6nb5 )
For self-educational purposes, I've been trying to teach myself to use
12 matches
Mail list logo