You are not logged in.
On alacritty terminal, if i select text using nano and copy (Alt 6, scroll down, ctrl shift c) , it copies into nano's internal clipboard, if i select text in vim (ggVG "+y) it also copies into vims internal clipboard. If i select text using mouse with alacritty and copy, that works, but i cant scroll down on a text file while doing so, so i can only select the text on the screen, if i select using alacrittys vi mode, it also works but once again i cant scroll down. So how do i select the whole text file and copy to external clipboard?
To summarize, how do i replicate windows's ctrl a, ctrl c while displaying text in alacritty terminal, using either nano or vim?
Last edited by lvxn (2025-02-15 13:13:25)
Offline
if you want to copy the entire file you have open in vim, you can run
:w !xclip -selection clipboard
which works in an x11 session, if you're on wayland then you can probably do something very similar with wl-copy.
Offline
if you want to copy the entire file you have open in vim, you can run
:w !xclip -selection clipboard
which works in an x11 session, if you're on wayland then you can probably do something very similar with wl-copy.
much love man thankoyu
Offline