GithubHelp home page GithubHelp logo

noscripter / dotfiles-8 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nelstrom/dotfiles

0.0 1.0 0.0 2.25 MB

My dotfiles. Mainly customisations for Vim and Bash.

Shell 6.02% Vim Script 93.98%

dotfiles-8's Introduction

Installation

git clone git://github.com/nelstrom/dotfiles.git

Where possible, Vim plugins are installed as git submodules. Check these out by running the commands:

cd dotfiles
git submodule init
git submodule update

Create symlinks:

ln -s ~/dotfiles/bashrc ~/.bashrc
ln -s ~/dotfiles/vimrc ~/.vimrc
ln -s ~/dotfiles/gvimrc ~/.gvimrc
ln -s ~/dotfiles/irbrc ~/.irbrc
ln -s ~/dotfiles/vim ~/.vim
ln -s ~/dotfiles/ctags ~/.ctags
ln -s ~/dotfiles/jshintrc ~/.jshintrc
ln -s ~/dotfiles/tmux.conf ~/.tmux.conf
ln -s ~/dotfiles/gitconfig ~/.gitconfig
ln -s ~/dotfiles/global-gitignore ~/.gitignore

I put Vim's backup and swap files in ~/tmp, so that directory must exist. To be sure, run:

mkdir ~/tmp

VIM

My preferences for Vim are stored in dotfiles/vimrc and dotfiles/gvimrc respectively. All plugins and scripts are stored in the dotfiles/vim directory.

Adding Plugin Bundles

Plugins that are published on github can be installed as submodules. For example, to install the JavaScript bundle, follow these steps:

cd ~/dotfiles
git submodule add http://github.com/pangloss/vim-javascript.git vim/bundle/vim-javascript

This will update the .gitmodules file by appending something like:

[submodule "vim/bundle/vim-javascript"]
    path = vim/bundle/vim-javascript
    url = http://github.com/pangloss/vim-javascript.git

As well as checkout out the git repo into the vim/bundle/vim-javascript directory. You can then commit these changes as follows:

git add .
git ci -m "Added the javascript bundle"

Command-t

The command-t extension require Vim with ruby support, and furthermore, the ruby code depends on a C extension for extra speed. The usual pathogen installation proceedure didn't work for me, but I followed these steps to make it work:

cd ~/dotfiles/vim/bundle/command-t/ruby/command-t
ruby extconf.rb
make

That did the trick.

RUBY

My preferences for IRB customisations are stored in dotfiles/irbrc. To get the most from these, you should install the interactive_editor and awesome_print gems, by running:

gem install interactive_editor awesome_print

dotfiles-8's People

Contributors

nelstrom avatar andyw8 avatar

Watchers

 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.