Hacker News new | ask | show | jobs
by algorithm_dk 2255 days ago
The golden recipe: neovim, tmux, rg, fzf, i3/other tiling wm on nixos/arch

Fzf all you can, not just inside vim, but also use it to switch between tmux sessions in an instant. I have a tmux manager on top of tmuxp that is able to start / switch to already started sessions via fzf.

Identify patterns you use a lot and make snippets out of them. Create project templates.

Have a folder where you dump reference / things that need to be really easy to find, and set up vim to search into that instantly, no matter where you are.

Keep an inbox file to throw things in, make a wm bind a script to prompt for text and append it there via zenity. Don't throw links into it, it's gonna be a bookmark dump.

Make sure your todo system is a keybind away at all times.

Review your way of working, challenge, and improve it. Be lazy, but only when you afford it.

5 comments

>Make sure your todo system is a keybind away at all times

This point here I think is incredibly useful in general. When accessing your full to-do list feels like its own todo, you're gonna have a bad time

I was about to get it on with tmux, but as soon as Neovim implemented a terminal I was outta there. Seeing as Neovim is has terminal emulator, windows and tabs why do you still use tmux?
I really need to get around to fixing my arch, its still left mid-reinstall after at least a month (and I'm lost on the networking for the 2nd time, you'd think I'd have learned by this point)
> Make sure your todo system is a keybind away at all times.

Can you access your todo system from your phone? I'm always torn on this, and why I keep my todos in google keep.

I'm using todo.txt via the CLI [1] with my TODO files in a Dropbox folder syncing it with Simpletask [2] for Android.

[1]: https://github.com/todotxt/todo.txt-cli [2]: https://github.com/mpcjanssen/simpletask-android

what is rg, i3 or tiling window wm? can't you use tmux as a tiling WM?
Only if everything you do is in a terminal.

If you also need a browser, IDE, or any other non-terminal application open then i3 lets you tile those as well.

I haven't used it in a while since we switched to macs and ssh'ing to remote linux dev desktops but when I had an all-linux dev setup I remember i3 being pretty amazing.