From 20a46138b4cf959b3c4ad3db4f9df6a102370812 Mon Sep 17 00:00:00 2001 From: whitney Date: Tue, 10 Sep 2024 22:17:35 -0700 Subject: [PATCH] Notes on copying to system clipboard --- lazyvim/README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/lazyvim/README.md b/lazyvim/README.md index b866756..e426042 100644 --- a/lazyvim/README.md +++ b/lazyvim/README.md @@ -24,7 +24,7 @@ ln -sfn /path/to/dotfiles/lazyvim/init.lua ~/.config/nvim/init.lua ``` 4. Start nvim, and let all the packages install. Done! -## Plugins/Addons +## Plugins/Addons/Extras ### Mason (Language Servers) Enter Mason UI view from nvim: `:Mason`. Enter `g?` to toggle help page if you've forgotten the hotkeys. @@ -32,5 +32,14 @@ Some ideas of what to install: - `java-language-server` - `python-lsp-server` +### Clipboard Support +By default LazyVim can't copy things to the clipboard. +Install vim-gtk3 to support this: +``` +sudo apt install vim-gtk3 +``` +Now, right click > copy will copy to system clipboard. +Alternatively you can copy to the `+` or `*` register (`"`` + `+` + `y` ) and paste outside. + ## Shortcut Reference `` key is space key. I don't see a need to change it for me.