You are not logged in.

#1 2020-03-21 11:14:12

kovac
Member
Registered: 2020-03-14
Posts: 41

[SOLVED] Vim cannot copy/paste to/from clipboard

I have installed Arch with Xor server and am using i3wm. As advised in the wiki,, I tried setting "clipboard" setting to both "unnamed" and "unnamedplus" but neither is working.

My current .vimrc looks like this:

:set clipboard=unnamedplus
:set number
:filetype plugin on
:syntax on
:filetype indent on

Some other troubleshooting info I have after searching online are:

Output of the commane "vim --version |grep clipboard"

-clipboard  +keymap         +postscript     +vartabs
+eval       -mouse_jsbterm  -sun_workshop   -xterm_clipboard

My terminal emulator is urxvt. I have not installed any clipboard plugins for urxvt. Thank you for your help.

Last edited by kovac (2020-03-21 12:45:20)

Offline

#2 2020-03-21 11:24:59

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,390

Re: [SOLVED] Vim cannot copy/paste to/from clipboard

You need to install gvim to get a vim compiled with x/clipboard support.

Offline

#3 2020-03-21 12:44:26

kovac
Member
Registered: 2020-03-14
Posts: 41

Re: [SOLVED] Vim cannot copy/paste to/from clipboard

Oh I see... Somehow I thought I could add something to vim or my terminal emulator to support it. I just realised that this is clearly mentioned in the wiki (that I can't use the clipboard with vim). Thanks for the information.

Offline

Board footer

Powered by FluxBB