nano-system-copy.md (662B)
1 +++ 2 title = "nano System Copy" 3 datePublished = 2026-07-30 4 template = "blog-page.html" 5 +++ 6 7 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. 8 9 [The patch can be seen here](https://codeberg.org/regexghost/patches/src/branch/main/nano-copy-system.diff) and can be applied with my `otherPrograms.sh` script in [my dotfiles](https://codeberg.org/regexghost/regexghost-dotfiles). 10 11 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.