vim --versionWe will see "+clipboard" if it support global clipboard.
Otherwise, we should install this debian package "vim-gnome" to make vim support global clipboard.
After we get global-clipboard-enabled vim, we should modify "~/.vimrc" and add this line:
set clipboard=unnamedThen vim will copy and paste string with global clipboard.
沒有留言:
張貼留言