rxvt vim 復(fù)制 粘貼問題
[From: http://www.linuxsir.org/bbs/thread349105.html 第6貼 Thanks to macrosun ]由于在vim里設(shè)置了使用鼠標(biāo) (如 set mouse=a), 復(fù)制 粘貼可能有些問題
1. 在rxvt沒有使用vi的時候。 這種情況下,rxvt的copy:鼠標(biāo)左鍵進(jìn)行選擇,paste:鼠標(biāo)中鍵或者 shift+insert
2. 如果用rxvt使用vi的時候。 因為vi會干涉到X,所以有些調(diào)整。
其他程序向rxvt中的vi的paste: shift+insert rxvt中的vi向其他程序的copy:這個時候僅僅用鼠標(biāo)左鍵選擇,進(jìn)入緩沖的只能在該vi中使用,其他程序是讀不到的。但是使用shift+鼠標(biāo)左鍵進(jìn)行選擇,進(jìn)入緩沖的copy就可以在其他程序中用鼠標(biāo)中鍵或者shift+insert 進(jìn)行paste了。
Keep It Simple, Stupid
posted on 2009-05-26 19:30 Cooky 閱讀(662) 評論(0) 編輯 收藏 所屬分類: CLI