vimiv to Substitute for Ranger's Image Preview in Wayland

2023-08-05 Update The drop-in replacement ueberzugpp has native support for Wayland (sway and hyprland), and most importantly, tmux support on sway and hyprland! pacman -Syu ueberzugpp and add the following: set preview_images true set preview_images_method ueberzug and you’re done! TL;DR: I’ve switched to using vimiv to substitute for my broken Ranger’s image preview. You could also use imv or mpv to interact with Ranger but I found it to be a bit janky....

December 27, 2022 · 2 min

Using AutoHotkey (AHK) on a No-admin-rights Windows Machine And Other Tips

Note: Use this information at your own risk. Introduction As mentioned previously, I work as a developer at a corporate. The development experience on a no-admin-rights Windows machine is horrendous. The following quote from this SO reply sums it up: “We value your work so little that we are prepared to significantly compromise your ability to do your job for no good reason. In fact, we are quite happy to do this to cover our own arse, pander to the whims of petty bureaucracy or because we simply can’t be bothered....

December 26, 2022 · 3 min

The Comprehensive Guide to Using Neovim with LSP and Treesitter on Windows Without Admin Rights

Note: Use this information at your own risk. TL;DR: Easier way: Sideload nvim-win64.zip to your work machine by uploading and then downloading from your Github (or Gitlab or BitBucket) account. Use vscode-neovim to embed a real Neovim instance inside Visual Studio Code (vscode). This is the approach I recommend. The Good: Out of the box LSP support from vscode vscode plugins are available leap.nvim works in vscode-neovim: The Bad:...

December 24, 2022 · 9 min

legendary.nvim: Execute Keymaps in Vscode's Command Palette Style

TL;DR: Use legendary.nvim to execute keymaps, commands, and autocommands in Vscode’s Command Palette style. Using legendary.nvim to excute seldomly used commands like comment-box.nvim. Introduction There are commands that I don’t use frequently, but when I need them, I forget them. Before legendary.nvim, I used which-key.nvim. I never had the patience or the memory to go through each level of the popup window to execute the command I want (is it <leader>, g, or <leader>g?...

December 23, 2022 · 1 min

Blocking Distractions with OpenDNS in Linux

TL;DR: use OpenDNS, StevenBlack/hosts, LeechBlockNG to stop yourself from wasting time online. Introduction I’m a sucker for distractions. Before switching to Linux, I was using FocusMe and Cold Turkey to block distractions. They’re amazing for they could completely take control of my machine: I’d not been able to circumvent the block and go on YouTube or even launch mpv. Given I’d switched to Linux, it’s impossible to do so, so I had to resort to the following tools....

September 4, 2022 · 2 min