nano System Copy
2026-07-30
I wrote a patch for the GNU nano text editor that allows you to copy highlighted text to the system clipboard. This was one of the features I missed after switching from micro to nano.
The patch can be seen here and can be applied with my
otherPrograms.sh script in my
dotfiles.
In theory I could have used an st patch to
achieve this, but it would be sub-optimal as it might copy
line numbers, and not handle newlines properly.