SOLVED: two problems with terminator: vi and line spacing/cursor size
Oliver Grawert
ogra at ubuntu.com
Mon May 8 15:18:55 UTC 2023
hi,
Am Montag, dem 08.05.2023 um 15:45 +0200 schrieb M. Fioretti:
> On Mon, May 08, 2023 09:39:29 AM +0100, Chris Green wrote:
>
> > > I explicitly wrote that this happens in insert mode. Of course I
> > > was
> > > expecting "the left arrow key to move the cursor left". Why
> > > should I
> > > expect anything different from pressing a key with a left arrow
> > > on it?
> > >
> > Yes, OK, but that was why I asked what vi you were using. Old vi
> > don't recognised arrow keys in insert mode, they just insert the
> > key
> > sequence (which is what seems to be happening to you).
>
> Ohhh, I get it now. And thanks to this hint, I was able to find this
> askubuntu thread:
>
> https://askubuntu.com/questions/353911/hitting-arrow-keys-adds-characters-in-vi-editor
>
> that says to write "set nocompatible" in .vimrc, and indeed that
> works.
>
there are two vim packages in the archive, vim-tiny which is pre-
installed by default and defaults to "set compatible" (i.e. non-
functional cursor keys) and the actual "vim" package which comes
without "vi compatibility mode" by default and fully supports the
cursor keys ...
i'd always recommend to install the full vim package instead of going
with the limited vim-tiny one (whch was originally introduced to save
space on the CD isos) if you really want to use vim for actual work.
ciao
oli
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20230508/c98a93ee/attachment.sig>
More information about the ubuntu-users
mailing list