Last active
December 4, 2025 07:19
-
-
Save aditya-r-m/50a054ea779fb87b4bd8fb3eac96d870 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| theme = "papercolor-dark" | |
| [editor] | |
| true-color = true | |
| line-number = "relative" | |
| auto-pairs = false | |
| [editor.indent-guides] | |
| render = true | |
| [keys.normal] | |
| s = ":w" | |
| q = ":wq" | |
| r = ":reload" | |
| [keys.insert] | |
| C-n = "normal_mode" | |
| [keys.select] | |
| s = ":w" | |
| q = ":wq" | |
| C-n = "normal_mode" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # sudo apt install tmux helix htop cmake | |
| # hx --grammar fetch && hx --grammar build | |
| # ./rustup && cargo -B build | |
| alias bg="cargo build --release && cmake --build build && ./build/game" | |
| alias cg="cd ~/game" | |
| alias hg="hx game.c src/*" | |
| function tx { | |
| cg | |
| if tmux has-session; then | |
| tmux attach | |
| else | |
| tmux new-session \; split-window -v \; split-window -hf \; send-keys -t 1 htop Enter \; resize-pane -t 2 -x 111 \; send-keys -t 2 hg Enter \; attach | |
| fi | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment