The One Eyed Fighting Kirby: A Fun Vim Substitution Trick
The One Eyed Fighting Kirby is basically a Vim substitution command that uses capture groups to transform text. The name comes from the way the regex capture group looks like a one-eyed Kirby (you know, the pink puffball from Nintendo games) when written in Vim. It’s a fun name for a powerful regex capture group technique that can save you tons of time when editing text. Here’s the basic syntax: ...
Navigating Kitty Terminal Scrollback with Vim
Terminal scrollback history can be difficult to navigate with standard mouse selection, especially for complex outputs or when you need to select specific portions of text. By combining Kitty terminal’s pipe capabilities with Vim’s powerful navigation, you can effortlessly browse, search, and copy content from your terminal history. Prerequisites Before getting started, make sure you have the following installed: Kitty Terminal: A fast, feature-rich, GPU-based terminal emulator Installation: sudo pacman -S kitty (Arch Linux) Other distros: https://sw.kovidgoyal.net/kitty/binary/ Vim: The ubiquitous text editor Installation: sudo pacman -S vim (Arch Linux) Most Linux distributions come with Vim pre-installed or easily available in their package repositories You’ll also need basic familiarity with Vim navigation commands for the best experience, though even Vim beginners can benefit from this setup. ...
Unlock sudo access after failed attempts in Arch Linux
When you fail to enter the correct password multiple times while using sudo, your account might get locked for security reasons. This is a security feature to prevent brute force attacks. Here’s how to check and unlock your account using the faillock command. First, check the status of failed attempts: sudo faillock This will show you a list of users and their failed attempts. The output will look something like this: ...
Disable version check for GNOME Shell extensions
GNOME Shell extensions are a fantastic way to customize and extend the functionality of your GNOME desktop environment. However, GNOME enforces a version check, meaning that if an extension isn’t explicitly marked as compatible with your current GNOME Shell version, it won’t be loaded. This can be frustrating if you know an extension works fine, or if you’re developing an extension and want to test it easily. Recently the forge extension stopped working on GNOME 48, but it still works well even if it’s marked as incompatible. So, to enable forge again we need to disable this version check. Be aware that this comes with risks, as incompatible extensions can cause instability. Proceed with caution and understand that you’re disabling a safety mechanism. ...
Fastfetch: System Information, Your Way
Tired of plain system info outputs? Fastfetch is a command-line tool (similar to Neofetch) that displays essential system details in a highly customizable and visually appealing format. Get info about your OS, kernel, CPU, GPU, RAM, disk usage, and much more, all presented with colorful ASCII art and configurable layouts. Key Features: Fast performance. Highly customizable output (colors, logos, information displayed). Wide range of supported operating systems. Easy to install. Installation: ...