| .config | ||
| .fonts | ||
| .gitignore | ||
| .gitmodules | ||
| .tmux.conf | ||
| .zshrc | ||
| echo_input.sh | ||
| install.sh | ||
| README.md | ||
| submodules.sh | ||
These are my dotfiles and the fonts I use.
Clone and Install
via ssh
git clone ssh://git@git.ramboe.io:9022/configuration/dotfiles.git $HOME/ramboe_dotfiles && \
cd "$HOME/ramboe_dotfiles" && \
git pull --recurse-submodules && \
git submodule update --init --recursive && \
./install.sh
The commands
git pull --recurse-submodulesandgit submodule update --init --recursiveneed a working SSH public and private key combination.
install.sh
This script sets up your dotfiles by linking configuration directories into ~/.config, installing fonts, and copying .zshrc and .tmux.conf to your home directory for immediate use.
Submodules
The dotfiles repository cointains a .config directory does not contain any actual code. It rather points to submodules which are independent repositories themselves.
Therefore getting a fresh clone of dotfiles (as described above), executes those lines as well:
git pull --recurse-submodules && \
git submodule update --init --recursive
This ensures that dotfiles/.config/<submodule> actually contains files. Without those lines, the directories would be empty
.tmux.conf
This tmux.conf enables mouse support, sets the terminal to screen-256color, and applies a grey status bar with white text.
.zshrc
This .zshrc sets up oh-my-zsh with the macovsky theme, useful plugins (git, archlinux, autosuggestions, syntax highlighting), fuzzy-finder and vi-mode keybindings, powerline/manjaro prompts
Also it contains keybindings for the scripts for tmux session management, FZF directory jumping, and cheatsheets.
Here are the keybindings distilled into a short list:
- Ctrl-F → run
tmux-sessionizer(pick a session from predefined dirs) - F3 → run
tmux-sessionizer .(pick a session from current dir) - F4 → fuzzy-find subdirectory in current dir and
cdinto it - F5 → run
chtsh(cheatsheet lookup) - Ctrl-R → FZF reverse history search (from
fzf --zsh) - Ctrl-Backspace → delete previous word (
backward-kill-word)