For vim I had to config or install something just to be able to COPY something to use outside vim, how backwards is that? Isn’t this the most standard feature one can expect to work as default?
You mean you couldn’t copy some text from vim and paste it into another application?
if yes, what did you have to install/configure for that? I’ve never had any issues copy paste from/to vim, console/GUI windows/Unix.
Sadly I don’t remember. Sometimes it comes preinstalled, sometimes not, depending on OS or something. (Maybe Manjaro gnome). I could copy and paste inside of vim, but not to/from outside vim.
Vim can be used in situations where no system clipboard is available. It has its own copy clipboard that is only used in Vim. If the maintainer of your package build Vim with the system clipboard support, then you don’t need to install anything. You can copy and paste from system clipboard any time, but have to know how to do it right. Or you setup Vim that it automatically uses the clipboard. You don’t need to install anything else, unless the maintainer did not build Vim with clipboard support.
Modern versions of Vim, such as Neovim, should have these enabled automatically. Even easier to use if you use a preconfigured environment/distribution of Neovim such as LazyVim.
Once again proving that the easiest way to work out how to do something in vim is to post something along the lines of “vim sucks because it can’t do x” online :)
it actually does work by default, you just probably missed how to do it in the help pages in vim. For those curious, the system clipboard is its own named register in vim (:help registers to learn more) and can be accessed with either “* or “+ depending on your how your system is configured.
For vim I had to config or install something just to be able to COPY something to use outside vim, how backwards is that? Isn’t this the most standard feature one can expect to work as default?
You mean you couldn’t copy some text from vim and paste it into another application? if yes, what did you have to install/configure for that? I’ve never had any issues copy paste from/to vim, console/GUI windows/Unix.
Sadly I don’t remember. Sometimes it comes preinstalled, sometimes not, depending on OS or something. (Maybe Manjaro gnome). I could copy and paste inside of vim, but not to/from outside vim.
Vim can be used in situations where no system clipboard is available. It has its own copy clipboard that is only used in Vim. If the maintainer of your package build Vim with the system clipboard support, then you don’t need to install anything. You can copy and paste from system clipboard any time, but have to know how to do it right. Or you setup Vim that it automatically uses the clipboard. You don’t need to install anything else, unless the maintainer did not build Vim with clipboard support.
Modern versions of Vim, such as Neovim, should have these enabled automatically. Even easier to use if you use a preconfigured environment/distribution of Neovim such as LazyVim.
Once again proving that the easiest way to work out how to do something in vim is to post something along the lines of “vim sucks because it can’t do x” online :)
it actually does work by default, you just probably missed how to do it in the help pages in vim. For those curious, the system clipboard is its own named register in vim (
:help registers
to learn more) and can be accessed with either“*
or“+
depending on your how your system is configured.To copy a line:
”*yy
or”+yy
To paste a line:
”*p
or”+p