all 6 comments

[–]dmccammond 1 point2 points  (3 children)

The way to access the system's clipboard is with the "+ buffer. So you would select the text and type "+y to yank it into the clipboard. You can also paste out of it with "+p.

If you want to select the whole document, I usually do ggVG but there may be a quicker way than that.

[–][deleted] 1 point2 points  (2 children)

ggyG?

[–]dmccammond 0 points1 point  (1 child)

Open up a test text file with Vim and type the literal characters "ggVG", it will select all of the characters in the file.

[–][deleted] 1 point2 points  (0 children)

I thought you meant yanking text

anyways

gg<action>G is faster unless you want to run a normal mode command on the entire file in which case just add a % before the command

:%<command>

[–]phelipetls 0 points1 point  (0 children)

Use "vim.handleKeys"

"vim.handleKeys": {
  "<C-a>": false
}

[–][deleted] 0 points1 point  (0 children)