Ubuntu自带的vi实在是太差了,拷贝都拷贝不全,另外上下左右键会出现一堆乱七八糟的字符,所以果断换掉。 sudo apt-get remove vim-common sudo apt-get install vim