-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathREADME
62 lines (40 loc) · 1.77 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
__
/\ \ __
__ __ __ \ \ \___ /\_\ ___ ___
/\ \/\ \/\ \ \ \ _ `\ \/\ \ /' __` __`\
\ \ \_/ \_/ \ \ \ \ \ \ \ \ \ /\ \/\ \/\ \
\ \___x___/' \ \_\ \_\ \ \_\ \ \_\ \_\ \_\
\/__//__/ \/_/\/_/ \/_/ \/_/\/_/\/_/
- Wistia's favorite vim setup
Read about how and why this was created here:
http://maxschnur.wordpress.com/2011/09/18/on-a-whim/
To install whim:
0) Backup your existing .vimrc and .gvimrc
mv ~/.vimrc ~/.vimrc.backup
mv ~/.gvimrc ~/.gvimrc.backup
1) Install pathogen:
mkdir -p ~/.vim/autoload ~/.vim/bundle
curl https://raw.github.com/tpope/vim-pathogen/HEAD/autoload/pathogen.vim \
> ~/.vim/autoload/pathogen.vim
2) Clone whim into ~/.whim, install submodules, and set up the defaults:
git clone git://github.com/wistia/whim.git ~/.whim
cd ~/.whim
git submodule update --init
ln -s ~/.whim/local/default.vimrc ~/.vimrc
ln -s ~/.whim/local/default.gvimrc ~/.gvimrc
3) This step is optional. If you want your command-t plugin to work:
cd ~/.whim/bundle/command-t/ruby/command-t
rvm use system
ruby extconf.rb
make
rvm use default
4) This step is optional. If you want to customize your setup:
Create a new file in ~/.whim/local,
then symlink it as in step 2! For example:
ln -s ~/.whim/local/max.vimrc ~/.vimrc
ln -s ~/.whim/local/max.gvimrc ~/.gvimrc
5) Restart (mac/g)vim and enjoy.
-------------
If you're interested in contributing or getting your name.vimrc/gvimrc files in here,
just email Max, Jim, or Brendan at wistia dot com.
Happy vim-ing!