copy pasting lines from vim to other programs is a pain (selecting text with mouse Ctrl+C Ctrl+V process not working properly?)

sometimes to debug a bash script it’s usefull to copy line-by-line and paste line-by-line to see what it does

apt update && apt -y install python3 python3-pygments
pygmentize ./setup_serverA.sh |less -R

# sample output

liked this article?

  • only together we can create a truly free world
  • plz support dwaves to keep it up & running!
  • (yes the info on the internet is (mostly) free but beer is still not free (still have to work on that))
  • really really hate advertisement
  • contribute: whenever a solution was found, blog about it for others to find!
  • talk about, recommend & link to this blog and articles
  • thanks to all who contribute!
admin