5

fedora19中VIM复制粘贴到系统剪切板

 2 years ago
source link: https://www.hi-roy.com/posts/fedora19%E4%B8%ADvim%E5%A4%8D%E5%88%B6%E7%B2%98%E8%B4%B4%E5%88%B0%E7%B3%BB%E7%BB%9F%E5%89%AA%E5%88%87%E6%9D%BF/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

fedora19中VIM复制粘贴到系统剪切板

2014-01-10

如果用的是fedoar,你会发现yum没有vim-gnomevim-gtk这类东西,而且使用:reg也没有+*这两个寄存器。gvim又感觉太难看,难道fedora中vim复制到系统剪切板是个坑??

不过,咱们却有一个神器——vimx!这个就包含了+*这两个寄存器了!(如果你没有这个vimx就安个gvim)

使用VIMX打开编辑文件,想复制的时候,先按V进入可视模式,然后选中要复制的东西后 依次按“+y这三个按键就复制到剪贴版了。

至于vim中寄存器介绍或者其他复制粘贴方式可以自行google,这里就不介绍了。

Roy avatar
About Roy
野生程序猿,略懂Python,略懂Golang,略懂云计算,略懂大数据,略懂拳击游泳钓鱼,略懂钢琴吉他摄影。

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK