Giter VIP home page Giter VIP logo

dotfiles-tourist's Introduction

Current dotfiles (and special requirements)

  • Git - dotfiles/gitconfig
  • Vim - dotfiles/vimrc (Vim 7.3+ with ruby support for Command-T Vim plugin)

Installation

  1. Get dotfiles:

    git clone git://github.com/tourist/dotfiles.git
    
  2. Make symbolic links:

    ln -s ~/dotfiles/gitconfig ~/.gitconfig  
    ln -s ~/dotfiles/vimrc ~/.vimrc
  3. Check Vim version and features:

    • version and ruby support with vim --version or :version inside Vim
  4. If necessary compile and install Vim 7.3+ version with ruby support:

    • for ubuntu installing vim-nox should be sufficient
    • handy list of available vim compile flags
    • e.g. for Webfaction account I've used (worked also on my Mac OS X 10.6.8):
    hg clone https://vim.googlecode.com/hg/ ~/vim/
    cd ~/vim/
    ./configure --with-features=big --enable-cscope --enable-rubyinterp --enable-pythoninterp --prefix=$HOME --with-python-config-dir=/usr/local/lib/python2.7/config
    make install

    If you got problems with plugins written in python you might have wrong version of Python compiled into Vim (I had some problems with rope because Vim compiled with Python2.4 and Rope gave SyntaxErrors).

    Check Python version in Vim:

    vim --version | tr '-' '\n' | grep python
    

    Compile with proper version on your system (this may vary heavy depending on OS)

    Some tips about this:
    http://www.tumblr.com/tagged/python-support
    http://tartley.com/?p=1355

    For Webfaction multiple Python version I wanted to use newest 2.x version which was 2.7. I've used:

    ./configure --with-features=big --enable-cscope --enable-rubyinterp --enable-pythoninterp --prefix=$HOME vi_cv_path_python=/usr/local/bin/python2.7
    

    Same as before but with vi_cv_path_python defined

    after installation in your home dir you can add alias to new Vim inside ~/.bash_profile

    alias vi=~/bin/vim
    alias vim=~/bin/vim
    

    or change PATH setting to look for vim in home dir first e.g.

    export PATH=$HOME/bin:$PATH
    
  5. Install Vundle for Vim.

  6. Call :BundleInstall inside Vim to install all plugins and see what's missing.

  7. "rake make" inside Command-T plugin:

    cd ~/.vim/bundle/command-t
    rake make
  8. For flake8 support:

    pip install flake8
    

TODO

  • Installation script (?)
  • Vim plugins list

dotfiles-tourist's People

Contributors

tourist avatar

Watchers

James Cloos avatar Chia-An Lee avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.