User Tools

Site Tools


linux

This is an old revision of the document!


Linux

Operating System

For just about the longest time, I have been using Manjaro OS, which is based on Arch, btw. Why do I use Manjaro? I believe no Linux distribution is “perfect”, but you can only get close with your own customization. If you don't explore the different ways of how to make you Linux install better suit your needs, then you cannot truly enjoy the advantages and freedom Linux offers.

Window Manager

I struggle to use any other window manager other than i3. After customizing and editing the config file, I find myself to be much more productive with i3, than any other window manager. The main element I enjoy about tiling window managers is the lowered frequency of mouse visits. Each time you visit your mouse, you are taking away your [right] hand away from the keyboard. Then, to continue working, you have to bring your [right] hand back to the keyboard. This, although a small and seemingly disregardable movement, piles up and can get very bothersome. With i3, I can ope and close windows, resize them, stack or tabify my windows, use different workspaces, take screenshots, extend my laptop screen to my monitor, etc… all without taking my [right] away from the keyboard! Isn't that neat!

Text Editor

Vim and Neovim all the way. I wrote my college application essay, and programmed my thesis application, all in Vim and Neovim.Esc:wq

Macros in Vim

Place yourself in the following scenario. You have a this .csv style line:

2025-03-20,Lawrence of Arabia,1962,https://boxd.it/2wRE


But, you need to format it to look like this:

* **2025-03-20** - ''[[https://boxd.it/2wRE|Lawrence of Arabia]]'' - (1962)


No problem right? It should only take around 30 seconds in a regular text editor (I tried it myself). Now image this, you have to do this #movies_in_my_watchlist|over a hundred times. Now, it seems like it would be a problem.

Now yes, you could just ask ChatGPT to do it for you, and it will do it with a very high degree of accuracy. However, you may have many valid reasons not to do so. Instead, you could use a vim macro. How it works is, you start recording a macro, perform the exact series of keyboard inputs, then save the macro. Then, you run it

n

number of times, and the macro will perform that exact operation on every single line you run it on. You have just saved over half an hour!

linux.1748817757.txt.gz · Last modified: by root