Last active
December 31, 2025 18:50
-
-
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 | |
| # gsettings set org.gnome.shell.keybindings switch-to-application-1 ["'<Alt>1'"] | |
| alias bg="cargo build --release && cmake --build build && ./build/game" | |
| alias cg="cd ~/game" | |
| alias hg="hx game.c src/* art/*" | |
| 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 | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment