3.7 KiB
____ U ___ u _____ _____ _ U _____ u ____
| _"\ \/"_ \/|_ " _| |" ___| ___ |"| \| ___"|// __"| u
/| | | | | | | | | | U| |_ u |_"_| U | | u | _|" <\___ \/
U| |_| |\.-,_| |_| | /| |\ \| _|/ | | \| |/__ | |___ u___) |
|____/ u \_)-\___/ u |_|U |_| U/| |\u |_____| |_____| |____/>>
|||_ \\ _// \\_ )(\\,-.-,_|___|_,-.// \\ << >> )( (__)
(__)_) (__) (__) (__)(__)(_/ \_)-' '-(_/(_")("_)(__) (__)(__)
Overview
This repo is a store my personal Debian and macOS dotfiles. I use zsh as default shell with Oh My ZSH framework and the nice Cobalt2 theme always inside a tmux session.
Feel free to use it. Be creative to enhance it - and share it!
Warning: These dotfiles reflect my personal settings. If you want to use it - wellcome! But review the settings and remove things, you don't want to need. Do not use it blindly. Use at your own risk!

Features
- Dotfile handling via dotfiles manager (dfm). Install, update and uninstall of dotfiles is quiet easy.
- All vim, tmux, ... plugins are included as git-submodule. So you have the lastest version everytime you update via udot command.
- oh-my-zsh with fantastic Cobalt2 theme.
- Some helpfull aliases and functions for docker and more.
- A useful vim configuration with pathogen plugin manager and some plugins: syntastic, vim-airline, vim-fugitive, vim-tmux
- My favorite tmux configuration and some tmux plugins: tmux-prefix-highlight, tmux-copycat, tmux-resurrect, tmux-urlview
- and many more ;)
- For local system-specific changes (proxy settings, etc.), you can create ~.commonrc.local
Installation
$ cd ~
$ git clone https://github.com/Eragos/dotfiles.git .dotfiles
$ cd .dotfiles
$ git submodule init
$ git submodule update
$ ./bin/dfm install
Update
For easy update the complete dotfiles (inlc. all submodules) you can use udot command:
$ udot
Dependencies
macOS
- tmux: To show mem, cpu, load stats, you have to install tmux-mem-cpu-load (https://github.com/thewtex/tmux-mem-cpu-load)
- tmux-urlview: brew install urlview extract_url
Feedback
Suggestions, corrections or improvements are welcome!
tmux
On macOS you can configure the Caps-lock key acting as Ctrl key. Caps-lock is just beside a and the prefix Ctrl+a is just a fingetip away. So in my configuration I changed the prefix key from Ctrl+b to more useful Ctrl+a
| Shortcut | Command |
|---|---|
| Ctrl+a r | reload tmux configuration |
| Ctrl+a R | reorder windows |
| Ctrl+a Ctrl+a | switch to last window |
| Ctrl+a | | split pane vertical |
| Ctrl+a - | split pane horizontal |
| Ctrl+a a | save tmux session |
| Ctrl+a A | restore tmux session |
| Ctrl+a m | ask for a manpage and open it on a new pane |
| Ctrl+a M | ask for a manpage and open it on a new window |