Do it in the keyboard as much as possible
Now I'm not gonna say learn vim for editing and browser. I don't care how are you going to do it but just keep in mind that basically less mouse == Fastah, thats it. moving on..
3 Keys maximum to navigate to something
This doesn’t mean every action should be limited to three steps, but rather that commonly used actions should require fewer keystrokes. The more frequently you perform an action, the fewer key presses it should take to complete it.
Think of this as a philosophy
Scripting Dev Environment
Example when you're developing a full-stack app, you often need to run multiple commands like npm run dev, docker compose, bun run dev, etc. While it might only take a few seconds, you'll likely be working on the same project for days, and those seconds quickly add up.
To automate this process, here's a simple script (courtesy of ChatGPT) to set up your environment:
#!/bin/bash
tmux kill-server
tmux new-session -d -s main
tmux split-window -h
tmux split-window -v
tmux split-window -v
tmux send-keys -t main:0.1 "docker compose up -d && bun run dev" C-m
tmux send-keys -t main:0.2 "cd frontend && bun run dev" C-m
tmux send-keys -t main:0.3 "npx drizzle-kit studio" C-m
tmux send-keys -t main:0.0
tmux select-pane -t main:0.0
tmux attach -t main
now a simple bash run_dev.sh sets you up for coding.
Top comments (0)