Debian 9 (Stretch) - Vim Copy and Paste not working - Visual Mode

Aus Carl-Christian Sautter - Wiki
Version vom 18. April 2020, 21:25 Uhr von Admin (Diskussion | Beiträge)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Zur Navigation springen Zur Suche springen

In File:

/usr/share/vim/vim80/defaults.vim

Comment Out:

" In many terminal emulators the mouse works just fine.  By enabling it you
" can position the cursor, Visually select and scroll with the mouse.
"if has('mouse')
"  set mouse=r
"endif

Alternative Lösung:

touch ~/.vimrc
echo "set mouse-=a" > ~/.vimrc
source ~/.vimrc