debian 使用vim无法进行鼠标粘贴问题
发布时间:2020-12-15 18:21:17 所属栏目:安全 来源:网络整理
导读:问题: Debian中通过终端使用vim,无法通过鼠标粘贴。这是由于一项默认的鼠标配置导致。 解决方法: nano /etc/vim/vimrc.local " This file loads the default vim options at the beginning and prevents" that they are being loaded again later. All ot
问题: Debian中通过终端使用vim,无法通过鼠标粘贴。这是由于一项默认的鼠标配置导致。 解决方法: nano /etc/vim/vimrc.local " This file loads the default vim options at the beginning and prevents " that they are being loaded again later. All other options that will be set," are added,or overwrite the default settings. Add as many options as you " whish at the end of this file. " Load the defaults source $VIMRUNTIME/defaults.vim " Prevent the defaults from being loaded again later,if the user doesn‘t " have a local vimrc (~/.vimrc) let skip_defaults_vim = 1 " Set more options (overwrites settings from /usr/share/vim/vim80/defaults.vim) " Add as many options as you whish " Set the mouse mode to ‘r‘ if has(‘mouse‘) set mouse=r endif
参考: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=864074 https://unix.stackexchange.com/questions/318824/vim-cutpaste-not-working-in-stretch-debian-9 (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |