Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 122 lines (76 sloc) 3.656 kb
d8cbcd0 @thlorenz updated readme
authored
1 **Table of Contents** *generated with [DocToc](http://doctoc.herokuapp.com/)*
2
67a8df6 @thlorenz fixed readme
authored
3 - [Disclaimer](#disclaimer)
4 - [Installation](#installation)
5 - [Create symlinks:](#create-symlinks:)
6 - [Tagbar Plugin](#tagbar-plugin)
d8cbcd0 @thlorenz updated readme
authored
7 - [VIM](#vim)
67a8df6 @thlorenz fixed readme
authored
8 - [Updating all Plugin modules to latest version](#updating-all-plugin-modules-to-latest-version)
d8cbcd0 @thlorenz updated readme
authored
9 - [Adding Plugin Bundles](#adding-plugin-bundles)
10
67a8df6 @thlorenz fixed readme
authored
11 # Disclaimer
12
b448496 improved readme
Thorsten Lorenz authored
13 Most of these instructions are ripped off straight from [here][nelstromdotfiles].
94f4756 initial state of my dotfiles
Thorsten Lorenz authored
14
67a8df6 @thlorenz fixed readme
authored
15 # Installation
94f4756 initial state of my dotfiles
Thorsten Lorenz authored
16
17 git clone git://github.com/thlorenz/dotfiles.git
18
19 Where possible, Vim plugins are installed as git submodules. Check these out by
20 running the commands:
21
22 cd dotfiles
1feca03 improving my c# snippets and adapting bashprofile and Readme
Thorsten Lorenz authored
23 git submodule update --init
94f4756 initial state of my dotfiles
Thorsten Lorenz authored
24
25 Vim scripts without a repo will be pulled down during clone. They can be updated via:
26
27 ruby update_vim_scripts
28
67a8df6 @thlorenz fixed readme
authored
29 ## Create symlinks:
94f4756 initial state of my dotfiles
Thorsten Lorenz authored
30
1feca03 improving my c# snippets and adapting bashprofile and Readme
Thorsten Lorenz authored
31 ln -s ~/dotfiles/bashrc ~/.bashrc
32 ln -s ~/dotfiles/bashprofile ~/.profile
d7de2f6 @thlorenz adding fonts and missing sym links
authored
33 ln -s ~/dotfiles/inputrc ~/.inputrc
1feca03 improving my c# snippets and adapting bashprofile and Readme
Thorsten Lorenz authored
34 ln -s ~/dotfiles/vimrc ~/.vimrc
35 ln -s ~/dotfiles/irbrc ~/.irbrc
36 ln -s ~/dotfiles/vim ~/.vim
37 ln -s ~/dotfiles/ctags ~/.ctags
48d65de @thlorenz adding exports
authored
38 ln -s ~/dotfiles/gitconfig ~/.gitconfig
d7de2f6 @thlorenz adding fonts and missing sym links
authored
39 ln -s ~/dotfiles/tigrc ~/.tigrc
14c954b @thlorenz updating readme with some linkage and install instructions
authored
40 ln -s ~/dotfiles/cardinalrc ~/.cardinalrc
2c2cb0d @thlorenz linking agignore in scripts and readme
authored
41 ln -s ~/dotfiles/agignore ~/.agignore
14c954b @thlorenz updating readme with some linkage and install instructions
authored
42
2d8fd5a @thlorenz moving nstart into config
authored
43 ln -s ~/dotfiles/config/nstart ~/.config/nstart
088816a @thlorenz linking pkginit
authored
44 ln -s ~/dotfiles/config/pkginit ~/.config/pkginit
d7de2f6 @thlorenz adding fonts and missing sym links
authored
45
d1f288c @thlorenz fixing font instructions
authored
46 cp ~/dotfiles/fonts/* ~/Library/Fonts/
94f4756 initial state of my dotfiles
Thorsten Lorenz authored
47
67a8df6 @thlorenz fixed readme
authored
48 ## Tagbar Plugin
5fa0e2c adding script and instructions to install exuberant ctags
Thorsten Lorenz authored
49
50 In order for the tagbar plugin to work, we replace the original ctags with a [better version][exuberant].
51
52 Assuming you are on a Mac and have [Homebrew][homebrew] installed run:
53
54 sudo sh ~/dotfiles/installs/ctags-exuberant.sh
55
43e96e7 @thlorenz including libclang instructions in readme
authored
56 ## Clang completion on Mavericks
57
58 Link libclang to where the clang plugin looks for it.
59
60 ln -s /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/libclang.dylib /usr/local/lib/libclang.dylib
61
62 Alternatively adjust the `g:clang_library_path`.
63
14c954b @thlorenz updating readme with some linkage and install instructions
authored
64 # Misc
65
66 ## Install pygments
67
68 `sudo easy_install Pygments`
69
b448496 improved readme
Thorsten Lorenz authored
70 # VIM
94f4756 initial state of my dotfiles
Thorsten Lorenz authored
71
8ae71c5 @thlorenz brew intall vim instructions
authored
72 On a Mac install macvim and use it's built in cli vim via:
73
74 brew install macvim --override-system-vim
75
76 Then make sure that `/usr/local/bin` is first in your `PATH`.
77
1feca03 improving my c# snippets and adapting bashprofile and Readme
Thorsten Lorenz authored
78 My preferences for Vim are stored in `dotfiles/vimrc`.
b448496 improved readme
Thorsten Lorenz authored
79
1feca03 improving my c# snippets and adapting bashprofile and Readme
Thorsten Lorenz authored
80 All plugins and scripts are stored in the `dotfiles/vim` directory.
94f4756 initial state of my dotfiles
Thorsten Lorenz authored
81
67a8df6 @thlorenz fixed readme
authored
82 ## Updating all Plugin modules to latest version
d8cbcd0 @thlorenz updated readme
authored
83
84 In order to update all submodules to the latest 'master' you can do:
85
86 git submodule foreach git pull origin master
87
465a20a @thlorenz adding autojump plugin to zsh
authored
88
89 ## Autojump
90
48d65de @thlorenz adding exports
authored
91 In order to use the [autojump plugin](https://github.com/joelthelion/autojump)
465a20a @thlorenz adding autojump plugin to zsh
authored
92
93 `brew install autojump`
94
b448496 improved readme
Thorsten Lorenz authored
95 ## Adding Plugin Bundles
94f4756 initial state of my dotfiles
Thorsten Lorenz authored
96
97 Plugins that are published on github can be installed as submodules. For
98 example, to install the [JavaScript bundle][jsbun], follow these steps:
99
100 cd ~/dotfiles
101 git submodule add http://github.com/pangloss/vim-javascript.git vim/bundle/vim-javascript
102
103 This will update the `.gitmodules` file by appending something like:
104
105 [submodule "vim/bundle/vim-javascript"]
106 path = vim/bundle/vim-javascript
107 url = http://github.com/pangloss/vim-javascript.git
108
109 As well as checkout out the git repo into the
110 `vim/bundle/vim-javascript` directory. You can then commit these changes
111 as follows:
112
113 git add .
114 git ci -m "Added the javascript bundle"
115
1feca03 improving my c# snippets and adapting bashprofile and Readme
Thorsten Lorenz authored
116 [nelstromdotfiles]: https://github.com/nelstrom/dotfiles
5fa0e2c adding script and instructions to install exuberant ctags
Thorsten Lorenz authored
117 [exuberant]: http://ctags.sourceforge.net/
118 [homebrew]: http://mxcl.github.com/homebrew/
94f4756 initial state of my dotfiles
Thorsten Lorenz authored
119 [jsbun]: http://github.com/pangloss/vim-javascript.git
120 [ap]: http://github.com/michaeldv/awesome_print
121 [i_editor]: http://github.com/jberkel/interactive_editor
Something went wrong with that request. Please try again.