File tree 5 files changed +38
-4
lines changed
5 files changed +38
-4
lines changed Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ namespace :install do
172
172
task :macvim do
173
173
step 'MacVim'
174
174
unless app? 'MacVim'
175
- brew_cask_install 'macvim'
175
+ brew_install 'macvim'
176
176
end
177
177
178
178
bin_dir = File . expand_path ( '~/bin' )
@@ -190,7 +190,7 @@ namespace :install do
190
190
File . open ( bin_vim , 'w' , 0744 ) do |io |
191
191
io << <<-SHELL
192
192
#!/bin/bash
193
- exec /Applications/MacVim.app/Contents/MacOS /Vim "$@"
193
+ exec /usr/bin /Vim "$@"
194
194
SHELL
195
195
end
196
196
end
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ setw -g monitor-activity on
89
89
set -g visual-activity on
90
90
91
91
# Enable native Mac OS X copy/paste
92
- set-option -g default-command " /bin/bash -c 'which reattach-to-user-namespace >/dev/null && exec reattach-to-user-namespace $SHELL -l || exec $SHELL -l'"
92
+ set-option -g default-command " /bin/zsh -c 'which reattach-to-user-namespace >/dev/null && exec reattach-to-user-namespace $SHELL -l || exec $SHELL -l'"
93
93
94
94
# Allow the arrow key to be used immediately after changing windows
95
95
set-option -g repeat-time 0
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+ # Just copy and paste the lines below (all at once, it won't work line by line!)
3
+ # MAKE SURE YOU ARE HAPPY WITH WHAT IT DOES FIRST! THERE IS NO WARRANTY!
4
+
5
+ function abort {
6
+ echo " $1 "
7
+ exit 1
8
+ }
9
+
10
+ set -e
11
+
12
+ /usr/bin/which -s git || abort " brew install git first!"
13
+ test -d /usr/local/.git || abort " brew update first!"
14
+
15
+ cd ` brew --prefix`
16
+ git checkout master
17
+ git ls-files -z | pbcopy
18
+ rm -rf Cellar
19
+ bin/brew prune
20
+ pbpaste | xargs -0 rm
21
+ rm -r Library/Homebrew Library/Aliases Library/Formula Library/Contributions
22
+ test -d Library/LinkedKegs && rm -r Library/LinkedKegs
23
+ rmdir -p bin Library share/man/man1 2> /dev/null
24
+ rm -rf .git
25
+ rm -rf ~ /Library/Caches/Homebrew
26
+ rm -rf ~ /Library/Logs/Homebrew
27
+ rm -rf /Library/Caches/Homebrew
Original file line number Diff line number Diff line change @@ -23,10 +23,11 @@ set autoindent
23
23
set autoread " reload files when changed on disk, i.e. via `git checkout`
24
24
set backspace = 2 " Fix broken backspace in some setups
25
25
set backupcopy = yes " see :help crontab
26
- set clipboard = unnamed " yank and paste with the system clipboard
26
+ set clipboard + = unnamed " yank and paste with the system clipboard
27
27
set directory -= . " don't store swapfiles in the current directory
28
28
set encoding = utf- 8
29
29
set expandtab " expand tabs to spaces
30
+ set hlsearch
30
31
set ignorecase " case-insensitive search
31
32
set incsearch " search as you type
32
33
set laststatus = 2 " always show statusline
@@ -126,3 +127,8 @@ if filereadable(expand("~/.vimrc.local"))
126
127
" noremap! jj <ESC>
127
128
source ~/.vimrc.local
128
129
endif
130
+
131
+ set visualbell
132
+ set gfn = Monaco:h12
133
+ set background = light
134
+ colorscheme codeschool
Original file line number Diff line number Diff line change @@ -40,3 +40,4 @@ Bundle 'vim-ruby/vim-ruby'
40
40
Bundle 'vim-scripts/Align'
41
41
Bundle 'vim-scripts/greplace.vim'
42
42
Bundle 'vim-scripts/matchit.zip'
43
+ Bundle 'flazz/vim-colorschemes'
You can’t perform that action at this time.
0 commit comments