Vim script Shell
Switch branches/tags
Nothing to show
Pull request Compare This branch is 177 commits ahead, 41 commits behind Remz-Jay:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.config
.ghc
.mc
.vim
Screenshots
bin
.bashrc
.dircolors
.gitconfig
.gitignore
.npmrc
.tmux.conf
.vimrc
.zimrc
.zlogin
.zlogout
.zprofile
.zshenv
.zshrc
README.md
setup.sh

README.md

dotfiles

My dotfiles ¯\_(ツ)_/¯. I've tried to use as much native zsh code and as few dependencies as possible. This keeps this setup snappy.

How Snappy?

~  repeat 10 {/usr/bin/time zsh -i -c exit}
        0.06 real         0.04 user         0.01 sys
        0.06 real         0.05 user         0.01 sys
        0.06 real         0.04 user         0.01 sys
        0.07 real         0.04 user         0.01 sys
        0.06 real         0.04 user         0.01 sys
        0.07 real         0.04 user         0.01 sys
        0.06 real         0.04 user         0.01 sys
        0.06 real         0.04 user         0.01 sys
        0.06 real         0.04 user         0.01 sys
        0.06 real         0.04 user         0.01 sys

60ms for a tmux pane split is nice :-)

What does it contain?

  • Vim is powered by Plug
  • Zsh is powered by zgen. In the .zlogin you will find some good bits from Zim.
  • Tmux bar code is generated by TmuxLine.vim

This setup will work on both OSX and Linux (and may work on other platforms).

Requirements

  • You have zsh installed (known to work from 4.3.17 to 5.3.1)
  • You have tmux installed (2.1+ or you will have issues with the supplied .tmux.conf )
  • You have vim installed (optionally compiled with ruby and python support)
  • You have ruby, ruby-devel, python and python-pip installed - if you wish to use Command-T plugin in vim
  • You will need a Powerline capable font
  • Exuberant Ctags, as TagBar will not work with GNU ctags. On OSX: brew install ctags fail.

Installation

git clone https://github.com/tuurlijk/dotfiles "${ZDOTDIR:-$HOME}/dotfiles"
cd "${ZDOTDIR:-$HOME}/dotfiles"
./setup.sh

chsh -s /bin/zsh

The installer will also install zgen for you.

Troubleshooting

It might be the case that the Command-T vim plugin causes a segfault on your system when you use the bootstrap script. This is due to the fact that it was compiled for a different architecture than your vim. See the Command-T manual for instructions.

Specifically:

 First you have to check the platform Vim was built for:

  vim --version
  ...
  Compilation: gcc ... -arch i386 ...
  ...

and make sure you use the correct ARCHFLAGS during compilation:

  export ARCHFLAGS="-arch i386"
  make