Contains all of the configuration files I use to configure my compters' terminal emulators and TUI apps, including:
- My
.bashrcfor shell configuration - My
.bash_profilefor sourcing the shell configuration when logging in over SSH - My
.gitconfigfor configuring git - Configuration folders for
alacrittyandrio - Configuration for the
tmuxterminal multiplexer - Configuration for the
neovimtext editor - Helper scripts for installing the configuration
When I'm working in a new unix-like environment I install git, tmux, neovim, and rio - then clone this repo and run deploy-config.sh - which deploys my configuration
Clone the repo and run deploy-config.sh! deploy-config.sh runs stash-config.sh which copies out any existing config you have to new files / folders, then runs symlink-config.sh which creates symlinks in your home and .config folders to your local copy of this repo. The boring, copy-only version of this is provided by copy-config.sh. Both scripts will run a clone the catppuccin tmux theme with:
git clone -b v2.1.3 https://github.com/catppuccin/tmux.git ~/.config/tmux/plugins/catppuccin/tmux
If you don't want to keep your old config around, run remove-stashed-configs.sh for cleanup
If you want to update anything work in your copy of the repo, the changes will be reloaded automatically when the apps are! (Except for Rio, which will auto-reload most config because it's cool like that) (Tmux will reload most config if you hit Ctrl A + R)
You will want to customise .gitconfig - it has my name, email, and merge preferences in it.
- I recommend using Rio as your terminal emulator - it's very cross-platform and easy to configure. You can see my Rio config in
dotfiles/rio/. - Remember to find and apply a theme to your terminal emulator for maximum eye-comfort :)
- You'll be launched automatically into a
tmuxsession when you log in. This behaviour is configured indotfiles/.bashrc-auto-tmux, which is renamed to.bashrcon installation, and sourced by.bash_profilewhen you log in to the container. To use mytmuxconfig:- Prefix is
Ctrl + A Prefix + -for vertical splitPrefix + |for horizontal.Prefix + Arrow keysto resize a panePrefix +h,j,k, andlfor navigation.Prefix + xto close a panePrefix + cto create a new window- Close all panes to close a window
Prefix + nto move to the next windowPrefix + pto move to the previous windowPrefix + {NUMBER}to move to a specific windowPrefix + rreloads the config.
- Prefix is
- My text editor is
nvimwithlazy-nvim,Mason,telescope,neotree, andalpha-nvim:- Leader is
space Leader + eto open neotreeLeader + bto open neotree on open buffersLeader + tabto swap between windowsLeader + fsto search context for stringsLeader + ffto search context for files.- Otherwise, stock navigation
- Leader is
- For
nvimandohmyposh(my shell prompt fancy-ifier) to render properly you'll need to configure your terminal emulator to use an font that has been patched with many nerdy icons - I recommend looking through through nerd-fonts to find one you like. I likeJetbrainsMono. - I have no alias other than the one I use to connect to the workspace which is
workspace- avoid using this from within the workspace as it will nest.