1

I'm using vim on Linux Debian without desktop environment (i.e xorg, i3, urxvt). I'm not unable to copy and paste ("+, "* not work), because clipboard package is not installed:

└> vim --version | grep clipboard
-clipboard         +jumplist          +persistent_undo   +vartabs
+eval              +mouse_gpm         +syntax            -xterm_clipboard

What should I install to enable clipboard?

--- upd:

I'm running X server

poul1x
  • 33
  • 6

1 Answers1

1

According to this, you will need to install vim-gtk. The package includes a non-gui version but will install a bunch of dependencies.

user1794469
  • 3,909
  • 1
  • 23
  • 42
  • How are you expecting a VIM that has no X client code to access the X clipboard of an X server? (-: – JdeBP Jan 02 '20 at 20:25
  • Oops, I thought that vim-nox would include a way to use the clipboard but it won't as far as I can tell. – user1794469 Jan 02 '20 at 20:37
  • 1
    `vim-gtk` works well, but I would prefer approach without bunch of dependencies to achieve that – poul1x Jan 02 '20 at 21:13