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 →

⌚ Syncing TimeWarrior files via Git

I’ve recently started using TimeWarrior to track my time. Having everything in the terminal makes it very easy to link up things to do multiple stuff. For example, I have aliases set up to automatically create a branch and start time tracking based on a JIRA issue number, as well as updating the tracked time to JIRA. One of the limitations I have found with TimeWarrior though is the fact that it has no simple native sync method.
Read more →

🌍 Make WSL links open in the default Windows browser

A nice thing with WSL in Windows 11 is the fact that graphical applications are supported natively without too much fuss. However, this means that, if you have a browser installed in WSL, that browser will open by default whenever you trigger a link click from your WSL installation (for example, when using lazygit’s ‘Create PR’ option). I just ran over wslview, which is a fake browser that just triggers your default Windows browser when called.
Read more →
Mastodon
Twitter
GitHub