This is a fork of holmans excellent dotfiles. Personalized for my needs.
These dotfiles are split into topics, where customizations for each topic goes in to their respective folder. Here, things are split into C, git, vim etc.
I use agnoster theme from oh-my-zsh, as well as vim-powerline, both of which require a powerline patched font. Most vim scripts are installed as git submodules and pathogen is used as vim package manager.
If you're interested in the philosophy behind why projects like these are awesome, you might want to read holmans post on the subject.
It has a bit too many dependencies, so I have compiled a list of packages
that can be installed via eg apt
on Debian based distros.
sudo apt install zsh curl vim-gtk3 tmux git python-minimal python-dev \
python-pip python3-dev python3-pip build-essential cmake libreadline-dev \
zlib1g-dev libbz2-dev libsqlite3-dev libssl-dev neovim
The following resource can be used to set up neovim if desired
https://github.com/zchee/deoplete-jedi/wiki/Setting-up-Python-for-Neovim
Run this:
git clone http://github.com/mhelmer/dotfiles.git ~/.dotfiles
cd ~/.dotfiles
script/bootstrap
This will symlink the appropriate files in .dotfiles
to your home directory,
followed by an initialization and update of the git submodules for vim.
Everything is configured and tweaked within ~/.dotfiles
.
The main file you'll want to change right off the bat is zsh/zshrc.symlink
,
which sets up a few paths that'll be different on your particular machine.
Everything's built around topic areas. If you're adding a new area to your
forked dotfiles — say, "Java" — you can simply add a java
directory and put
files in there. Anything with an extension of .zsh
will get automatically
included into your shell. Anything with an extension of .symlink
will get
symlinked without extension into $HOME
when you run script/bootstrap
.
A lot of stuff. Seriously, a lot of stuff. Check them out in the file browser above and see what components may mesh up with you. Fork it, remove what you don't use, and build on what you do use.
There's a few special files in the hierarchy.
- bin/: Anything in
bin/
will get added to your$PATH
and be made available everywhere. - topic/*.zsh: Any files ending in
.zsh
get loaded into your environment. - topic/path.zsh: Any file named
path.zsh
is loaded first and is expected to setup$PATH
or similar. - topic/completion.zsh: Any file named
completion.zsh
is loaded last and is expected to setup autocomplete. - topic/*.symlink: Any files ending in
*.symlink
get symlinked into your$HOME
. This is so you can keep all of those versioned in your dotfiles but still keep those autoloaded files in your home directory. These get symlinked in when you runscript/bootstrap
.
This is a fork of holmans dotfiles. A lot of vimrc goodness comes from sjl's dotfiles, which features a vimrc file of almost 2000 lines.