[Terminal] 使用zsh远程,vim粘贴少字符, 自动退出insert模式
Tofloor
poster avatar
changye01
deepin
2022-04-12 17:41
Author

终端使用zsh 远程后才有这个问题, 使用bash 就没这个问题

这是我复制的字符串

private static function getContent($content)

image.png

使用ctrl+shift+v复制后 就变成这样子了, 少了一部分字符, 且自动退出了插入模式

Reply Favorite View the author
All Replies
阿顺呀
deepin
2022-04-12 18:26
#1

据我遇到的情况 只有命令模式粘贴会导致 字符缺失

Reply View the author
deepinuser17
deepin
2022-04-12 20:09
#2

先要开启插入模式, 再粘贴看看

Reply View the author
changye01
deepin
2022-04-13 01:48
#3
deepinuser17

先要开启插入模式, 再粘贴看看

是先开启的插入模式,然后再粘的

Reply View the author
changye01
deepin
2022-04-13 01:49
#4

image.png

而且在终端直接复制, 前后会多出00 和01

Reply View the author
deepinuser17
deepin
2022-04-13 16:56
#5

你是如何安装zsh的?

深度的默认shell是bash.

Reply View the author
changye01
deepin
2022-04-13 18:10
#6
deepinuser17

你是如何安装zsh的?

深度的默认shell是bash.

sudo apt install zsh

然后 chsh -s /bin/zsh

Reply View the author
changye01
deepin
2022-04-21 04:06
#7

更正一下, 只有用终端自带的远程管理 远程后才会出现上述问题, 用ssh 命令就不会出现

Reply View the author