by hombre_fatal · 6y ago · 0 comments
2) Anything that lets you resize/place windows with hotkeys. For example, Divvy for OSX. Divvy is also nice because if you press the hotkey multiple times, it cycles the application through each of your monitors. No need to ever use your mouse to move/resize a window ever again.
3) Fuzzy file search in your editor. You know you want to open src/components/user.js so you type "cu<enter>" and it appears.
Any tools like this that become so ingrained in your muscle memory that you just kind of think things ("move this window and then summon my terminal") and the computer responds.
Years ago I saw someone using this (I think it was actually Yakuake) and ran it for a bit. I really didn't like that it was a single session. However, I later messed around with tiling window managers (which relates to your #2!) and having a shortcut to pop up a new terminal is really what I wanted this whole time.
Just to touch on #3, any time I'm writing a gui that's expected to have more than a handful of items I push to add a search bar with fuzzy matching at the top. Otherwise, search would get added after it's used for like a decade and everyone is immediately enthusiastic and grateful. All of the non-fuzzy solutions are too pedantic to use.
Browser history too.
(This might be true of free/shared/common tools that haven't been configured yet)
But getting past all that, after a lot of craftsmanship and idea sharing, that's when tools start to ramp up in productivity.
I use emacs, because if something doesn't work like you want to, you can coerce it to do so. That said I personally wish it was python-based, because I'm more fluent in python than lisp.
I like this method a little more because it's not a single session, there's no animation, etc. It just pops into existence exactly how/where I left it, and then goes away again when I'm done with it.
CMD+Tab is enough of a global hotkey for my needs, and it's usually only one or two tabs anyway.
While using i3, you can also place a terminal in the scratchpad, which works more similarly to Yakuake.
When I was working more seriously on things with project directories I had a couple aliases set up with a simple bookmark system. The "bookmarks" would be symlinks in a dot folder. I could type `g proj` or `g lib` to hop around.
I’ve been using “fzf” [1] for file and directory search and I can’t recommend it enough.
It integrates nicely with vim [2] as well.
You don't need a separate terminal just for that. It's better to automate your window manager to open the terminal. I use this with tmux and i3:
#!/usr/bin/env bash
tmux new-window -t 0 -c "$1"
i3-msg 'workspace 1' # switch to i3 workspace where my terminal is placed
I also use distinct hotkeys to specify which directory to cd to (the script above accepts a directory as argument).I rarely want to open a new window, I want a terminal that I never close, that stays in the background until I call it forward. And it has to be available on any workspace ("space" on macOS). Iterm does all of that perfectly
Aquasnap is an OKish windows equivalent. The best i've found, at least.
Thanks! I didn't know I need this until I tried it!