900字范文,内容丰富有趣,生活中的好帮手!
900字范文 > Ubuntu20.04 vim复制粘贴 使用系统剪切板

Ubuntu20.04 vim复制粘贴 使用系统剪切板

时间:2021-07-27 14:15:00

相关推荐

Ubuntu20.04 vim复制粘贴 使用系统剪切板

Ubuntu20.04 vim复制粘贴,使用系统剪切板

安装vim后,一直很烦恼无法复制粘贴(+p/+y)系统的剪切板

ubuntu20.04 需要安装vim-gtk

sudo apt install vim-gtk

其他版本linux桌面,请尝试安装vim-x , vim-x11,vim-gnome

vim中复制"+y

或在vimrc 中添加set clipboard=unnamedplus

安装完成后在vim命令行模式输入version

查看是否支持clipboard

+代表支持

-代表不支持

:versionVIM - Vi IMproved 8.1 ( May 18, compiled Apr 15 06:40:31)Included patches: 1-2269Modified by team+vim@Compiled by team+vim@Huge version with GTK3 GUI. Features included (+) or not (-):+acl-farsi -mouse_sysmouse -tag_any_white+arabic +file_in_path+mouse_urxvt +tcl+autocmd +find_in_path+mouse_xterm +termguicolors+autochdir +float +multi_byte +terminal-autoservername +folding +multi_lang +terminfo+balloon_eval-footer -mzscheme+termresponse+balloon_eval_term +fork() +netbeans_intg+textobjects+browse +gettext +num64 +textprop++builtin_terms -hangul_input+packages+timers+byte_offset +iconv +path_extra +title+channel +insert_expand+perl +toolbar+cindent +job+persistent_undo +user_commands+clientserver+jumplist+postscript +vartabs+clipboard +keymap +printer +vertsplit+cmdline_compl+lambda +profile +virtualedit+cmdline_hist+langmap -python +visual+cmdline_info+libcall +python3 +visualextra

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。