Last active
January 15, 2026 06:15
-
-
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" | |
| [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 hx htop cmake rustup | |
| # rustup default stable && rustup component add rust-analyzer | |
| # hx --grammar fetch && hx --grammar 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 0 htop Enter Escape \;\ | |
| resize-pane -t 0 -y 11 \;\ | |
| resize-pane -t 2 -x 120 \;\ | |
| send-keys -t 2 hg Enter \;\ | |
| attach | |
| fi | |
| } | |
| export LANG=en_US.UTF-8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment