加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > 安全 > 正文

VIM Ctrl-V与Windows粘贴的冲突

发布时间:2020-12-15 16:53:14 所属栏目:安全 来源:网络整理
导读:我在Windows中使用VIM。问题是,我想使用CtrlV作为可视模式。但是,此键与Windows粘贴有冲突。如何将此键重置回VIM可视模式,而不是粘贴。我喜欢在我的_vimrc配置文件中设置。 从 the VIM documentation: Since CTRL V is used to paste,you can’t use it
我在Windows中使用VIM。问题是,我想使用CtrlV作为可视模式。但是,此键与Windows粘贴有冲突。如何将此键重置回VIM可视模式,而不是粘贴。我喜欢在我的_vimrc配置文件中设置。
从 the VIM documentation:

Since CTRLV is used to paste,you can’t use it to start a blockwise Visual
selection. You can use CTRLQ instead. You can also use CTRLQ in Insert
mode and Command-line mode to get the old meaning of CTRLV. But CTRLQ doesn’t work for terminals when it’s used for control flow.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读