yy to copy, dd to cut, p to paste. Need to move 5 lines at once? No problem, move to the first line and use d5d, and p to paste it. Vim gets a bad rap for being confusing, but it’s so fast to move text around once you get the hang of it.
yy to copy, dd to cut, p to paste. Need to move 5 lines at once? No problem, move to the first line and use d5d, and p to paste it. Vim gets a bad rap for being confusing, but it’s so fast to move text around once you get the hang of it.
True, I was assuming zsh/bash - https://www.shellcheck.net/wiki/SC3011 has the posix-compliant equivalent.
You don’t need echo
if you use the here string:
sed 's/ on mobile//g' <<< "I will not be using reddit on mobile."
The good parts of Reddit came from Aaron Swartz. Everything since then has been these guys trying to squeeze as much money out as possible (remember Reddit Coins?).