Skip to content
My collection of configuration files
Shell CSS VimL Python Other
Find file
Latest commit cda4a6f @strycore Add DelimitMate plugin
Failed to load latest commit information.
firefox/chrome Stop messing with Firefox's backgrounds
hexchat Add some hexchat smileys
powerline-shell Replace some vim syntax plugins with vim-polyglot
sublime-text-2 basic sublime text config
terminator Replace some vim syntax plugins with vim-polyglot
vim Switch from Vundle to Vim-Plug
virtualenv postmkvirtualenv fixes
.gitignore Switch from Vundle to Vim-Plug
Makefile Add Makefile
README.rst Update README
Xdefaults Better urxvt (experimental)
ackrc Configure vim for YCM + ignore media folder in ack
bashrc Change hardcoded nvm path in bashrc
compton.conf
dput.cf Add dput.cf lauchpad config
eslintrc Add default eslintrc
flake8 Increase line length to 90 chars
gitconfig Awesome git log !
gitignore_global Ignore ycm conf files
hgrc Add color to hg
install.sh Add support for fzf
lxc-strycore Make lxc-strycore executable
mancolor Specify shell for mancolor
node-setup.sh Update Node setup
pylintrc better pylint
screenrc switch screen to zsh
tmux.conf Set up tmux for 256 colors
tmux.django.conf Make 'dj' Django servers public by default
vimrc Add DelimitMate plugin
vimrc-new Start a complete rewrite of vimrc
vimrc.survival Add minimal vimrc (enough to survive in hostile territory)
zshrc Add support for fzf

README.rst

Various config files for my Linux boxes

Installation

Run ./install.sh

To install vim plugins, run:

vim-plug-init vim-plug-update

Requirements

A few packages are required for a fully working installation, get them with:

sudo apt-get install build-essential cmake python-dev

This setup uses some node tools, the recommended way of installing node.js is through nvm. The zhrc file will assume that the latest version of node is installed and aliased to 'default'. Using nvm instead of a system wide install of node allows to install any version on any distribution without having to add software repositories and, more importantly, allows to install global node packages without requiring root access (and therefore without running global node scripts as root).

# Download and install nvm curl https://raw.githubusercontent.com/creationix/nvm/v0.24.1/install.sh | bash # Source nvm script to avoid restarting a shell . ~/.nvm/nvm.sh # Install latest version of node (v0.12.4 as of this writing) nvm install v0.12.4 # Alias this version of node to default nvm alias default v0.12.4

Installing python is done with pip. It is recommended not to install pip with your distribution's package manager to keep a fresh version of the program. One easy way to install the latest version of pip is with easy_install:

# easy_install is not installed on a base Ubuntu system
sudo apt-get install python-setuptools
# install pip
sudo easy_install pip

This config ships with YouCompleteMe plugin which requires vim 7.4. (Should now be in current distributions).

YouCompleteMe should be compiled automatically by vim-plug, if that fails, you can compile it manually:

sudo apt-get install cmake
cd ~/.vim/plugged/YouCompleteMe
./install.sh --clang-completer

Additional programs are required for syntax checking:

  • flake8, validates python code::

    sudo pip install flake8

  • eslint, validates ecmascript code::

    npm install -g eslint

  • rstcheck, validate RestructuredText files::

    sudo pip install rstcheck

Depending on the project being worked on, some additional software have to be installed:

npm install -g gulp
npm install -g bower
sudo pip install virtualenvwrapper
sudo apt-get install silversearcher-ag
sudo apt-get install exubrant-ctags
Something went wrong with that request. Please try again.