Welcome to my world. This is a collection of vim, tmux, zsh and several other configurations.
apt-get install git-core
Then, clone the dotfiles repository to your computer. This can be placed anywhere, and symbolic links will be created to reference it from your home directory.
git clone https://github.com/fieteboerner/dotfiles.git ~/.dotfiles
cd ~/.dotfiles
./install.sh
install.sh
will start by initializing the submodules used by this repository. Then, it will install all symbolic links into your home directory. Then, this script will create a ~/.vim-tmp
directory in your home directory, as this is where vim is configured to place its temporary files.
Next the install script will extend apt source.list files for google-chrome spotify, ... and install all packages and software to linux machine.
ZSH is configured in the zshrc.symlink
file, which will be symlinked to the home directory. The following occurs in this file:
- set the
EDITOR
to vim - Recursively search the
$DOTFILES/zsh
directory for files ending in .zsh and source them - Add the
~/bin
and$DOTFILES/bin
directories to the path - And more...
The prompt is meant to be simple while still providing a lot of information to the user, particularly about the status of the git project, if the PWD is a git project. This prompt sets precmd
, PROMPT
and RPROMPT
.
The precmd
shows the current working directory in it and the RPROMPT
shows the git and suspended jobs info.
The git info shown on the RPROMPT
displays the current branch name, and whether it is clean or dirty.
link.sh
will symlink the XDG configuration directory into your home directory and will then create symlinks for .vimrc
and .vim
.
Inside of .zshrc
, the EDITOR
shell variable is set to vim
, defaulting to Vim for editor tasks, such as git commit messages. Additionally, I have aliased vim
in aliases.zsh
vim should just work once the correct plugins are installed. To install the plugins, you will need to open vim in the following way:
vim +PlugInstall
TODO: Documentation coming soon.