Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #226096

Re: copy/paste in vim (in terminal)

From "Thomas Schmitt" <scdbackup@gmx.net>
Newsgroups linux.debian.user
Subject Re: copy/paste in vim (in terminal)
Date 2020-08-11 08:00 +0200
Message-ID <ACvuh-7A2-1@gated-at.bofh.it> (permalink)
References <ACuHT-7jH-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi,

Richard Hector wrote:
> I used to be able to use my mouse to select/paste 'normally' (for X),
> when using vim in a terminal.

Sounds like "set mouse=a" is active.

Do in a running vim
  :set mouse-=a
and check whether you get better copy+paste behavior.
If it helps, put
  set mouse-=a
into your ~/.vimrc or globally into /usr/share/vim/vimrc.


> If I'm using gvim, it's fine.

Check ~/.gvimrc and /usr/share/vim/gvimrc for "set mouse".
Maybe you find something better than my proposal.


Have a nice day :)

Thomas

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

copy/paste in vim (in terminal) Richard Hector <richard@walnut.gen.nz> - 2020-08-11 07:10 +0200
  Re: copy/paste in vim (in terminal) "Thomas Schmitt" <scdbackup@gmx.net> - 2020-08-11 08:00 +0200
    Re: copy/paste in vim (in terminal) Thomas Pircher <thp+debian@p5r.uk> - 2020-08-11 08:40 +0200
  Re: copy/paste in vim (in terminal) "Miguel A. Vallejo" <ea4eoz@gmail.com> - 2020-08-11 09:10 +0200
    Re: copy/paste in vim (in terminal) Greg Wooledge <wooledg@eeg.ccf.org> - 2020-08-11 14:00 +0200
      Re: copy/paste in vim (in terminal) Toni Mas Soler <antomassol@gmail.com> - 2020-08-11 15:50 +0200
    Re: copy/paste in vim (in terminal) Richard Hector <richard@walnut.gen.nz> - 2020-08-12 00:40 +0200

csiph-web