Join Mp3 files with cat

Read more →

⚡ Quickly repeat last f or t motion in Vim

I have started using NeoVim for the past few months and I am loving it - I won’t go here over the details, but suffice to say it’s a great editor. My Vim-fu though isn’t that great yet, and while I’m still learning, I’ll post #quickbits with useful stuff that I want to remember for later. The first one that I have found which I find it helps a lot is the f and t repeat shortcut: pressing ; will repeat the last f or t motion.
Read more →

📌 Edit your terminal command in editor

Just found out from this short video by Web Dev with Matt that you can edit your current command in your editor easily by hitting Ctrl + X followed by Ctrl + E. For example, let’s say that my shell looks like this: $ ps -ef | grep 'sleep' | grep -v grep | awk ' {print $2}' | xargs kill -9 Editing that sleep there would take quite a few more keystrokes in the shell than in your editor.
Read more →
Mastodon
Twitter
GitHub