dotfiles
Repo with linux dot files for different WMs and DEs. Every setup has a dedicated separate branch. The master branch holds general config such as bash and wallpapers.
This way of using git to version dot files is taken from the following tutorial. It allows to work in the home directory directly and version the used dot files instead of creating symlinks in different approaches.
Clone dot files to new system:
create the following alias first (add it to the .bashrc)
alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'
clone the repo:
git clone --bare git@github.com:BeatScherrer/dotfiles.git $HOME/.cfg
set config to not show untracked files
config config --local status.showUntrackedFiles no
checkout the wanted configuration
config checkout <branch>
or to overwrite the local files:
config checkout -f <branch>
tmux Shortcuts
the prefix is configured to be: ctrl + a
for more convenience.
Navigation
command | efffect |
---|---|
prefix, <h,j,k,l> |
navigate left,down,up,right |
prefix, <1,2,...> |
navigate to tab with number |
prefix, <e,o> |
split pane horizontally,vertically |
prefix, x |
close pane |
prefix, <',',$> |
rename window, session |
prefix, <s,r> |
save,reload session |
prefix, ctrl + <←,↓,↑,→> |
resize pane to direction |
prefix, m |
toggle maximize pane |
prefix, a |
toggle sync to all panes |