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

Warning 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

leap.nvim: Next-gen Motion Plugin for Neovim

TL;DR Use leap.nvim to jump to anywhere in the window with fewer than 4 keystrokes. Jumping order: AddWatchFlags (line 11) -> IntoApp (line 5) -> unix (line 17) -> InputDevice (line 8) Introduction leap.nvim is the next-gen motion plugin. I used vim-sneak and easymotion but leap.nvim is next-level smoothiness and intuitiveness. Vim/Neovim makes me wonder how I edited code with vscode before. leap.nvim makes me wonder why I spammed JJwww and kkkkbbb to move around the window....

August 31, 2022 · 1 min

It's high time for Sway (Wayland)

TL;DR I think Wayland is ready for daily use if you don’t have a machine with Nvidia. Introduction I switched from Windows to Linux on 2021-10-06, so my Linux experience is < 1 year. Previous Linux experience WSL VirtualBox with Ubuntu 20.04.4 Linux journey Manjaro with Gnome Desktop since 2021-10-06: Manjaro with i3-gap since 2021-10-19: Switched to Sway since 2022-07-19. Current config: Sway After watching Brodie’s First Look At Sway WM: Welcome Home “i3”, and given Sway is a drop-in replacement for i3 (I could use my i3 config), I decided to switch to Sway....

August 27, 2022 · 2 min