Personal configuration files for bash, zsh, vim, neovim, and tmux.
.
├── .bash_aliases # Bash alias definitions
├── .bash_profile # Bash login shell configuration
├── .bashrc # Bash interactive shell configuration
├── .zshrc # Zsh shell configuration
├── .vimrc # Vim configuration
├── .tmux.conf # Tmux configuration
├── config.sh # Setup script for neovim
├── setting.json # VS Code settings
└── nvim/
├── init.lua # Neovim configuration (Lua)
└── colors/
└── solarized.vim # Solarized colorscheme
# Clone the repository
git clone https://github.com/rcgalbo/dotfiles.git ~/dotfiles
# Create symlinks
ln -sf ~/dotfiles/.bashrc ~/.bashrc
ln -sf ~/dotfiles/.zshrc ~/.zshrc
ln -sf ~/dotfiles/.vimrc ~/.vimrc
ln -sf ~/dotfiles/.tmux.conf ~/.tmux.conf
ln -sf ~/dotfiles/.bash_aliases ~/.bash_aliases
ln -sf ~/dotfiles/.bash_profile ~/.bash_profile
# For Neovim
mkdir -p ~/.config/nvim/colors
ln -sf ~/dotfiles/nvim/init.lua ~/.config/nvim/init.lua
ln -sf ~/dotfiles/nvim/colors/solarized.vim ~/.config/nvim/colors/solarized.vimAPI keys are sourced from ~/.secrets (not included in this repo). Create this file with your keys:
# ~/.secrets
export ANTHROPIC_API_KEY=your_key_here
export OPENAI_API_KEY=your_key_here
# ... etc- History: Extended history with duplicate handling
- Aliases: Git shortcuts (
gs,gaa,gc,gp), tmux shortcuts, editor shortcuts - Conda: Auto-initialization for miniconda
- fnm/nvm: Node.js version management
- Prompt: Git branch display in prompt (zsh)
- Mouse support: Full mouse support with tmux compatibility
- Auto-save: Files automatically save on change
- Folding: Indent-based folding
- Keybindings:
,r- Open file explorer,p- Paste from system clipboard,y- Yank to system clipboard,b- Run Black formatter,/- Comment line,?- Uncomment lineCtrl+j/k- Move lines up/down
- Plugins (via vim-plug):
- vim-black for Python formatting
- Prefix:
Ctrl+a(instead of defaultCtrl+b) - Mouse: Full mouse support
- Vi mode: Vi-style copy mode
- Keybindings:
\- Vertical split-- Horizontal splith/j/k/l- Navigate panesH/J/K/L- Swap panes- Arrow keys - Resize panes
Ctrl+s- Sync panesr- Reload config
- Plugins (via TPM):
- tmux-resurrect - Session persistence
- tmux-better-mouse-mode - Improved mouse support
Install TPM:
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm| Alias | Command |
|---|---|
gs |
git status |
gaa |
git add . |
gc |
git commit -m |
gp |
git push |
vi/vim |
nvim |
tks |
tmux kill-session |
ta |
tmux attach |
tls |
tmux list-sessions |
ez/eb |
Edit zshrc/bashrc |
sz/sb |
Source zshrc/bashrc |
MIT