Skip to content

Instantly share code, notes, and snippets.

@aditya-r-m
Last active December 4, 2025 07:19
Show Gist options
  • Select an option

  • Save aditya-r-m/50a054ea779fb87b4bd8fb3eac96d870 to your computer and use it in GitHub Desktop.

Select an option

Save aditya-r-m/50a054ea779fb87b4bd8fb3eac96d870 to your computer and use it in GitHub Desktop.
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"
# 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