Xcode 和 Vim 都是非常流行的软件。很久以来,Square Vim 的狂热者已经把 Vim 的设置、快捷方式、插件等编译到一个单独的仓库里面,我们热爱地把这仓库称为:Maximum Awesome。而今天(文章写于 2013.8.28 ),我们把这个仓库开源了!我们希望任何使用 OS X 的人都能在几分钟内上手 Vim!(配置文件稍作修改就可以用于其他系统)
在你的 home 目录下,Maximum Awesome 会创建一个 .vimrc.local 文件,你可以在这个文件定制你 Vim 喜好。然而,我们也欢迎能包含你为自己的配置文件所做的改变,共同为大家改善 Vim 的用法,所以,欢迎 fork 我们的项目,然后发出一些 pull 请求。
玩得开心
不管你是那些穿着 hjkl T-shirt 的人(意指非常熟悉 vim 用法,因为 h/j/k/l 是 vim 的快捷健),还是刚刚接触到 Vim,我们希望 Maximum Awesome 能帮助他们更容易地写代码。祝码得开心!
下面是安装记录(中间需要输入管理员密码):
Cloning into 'maximum-awesome'...
remote: Counting objects: 764, done.
remote: Total 764 (delta 0), reused 0 (delta 0), pack-reused 764
Receiving objects: 100% (764/764), 373.56 KiB | 158.00 KiB/s, done.
Resolving deltas: 100% (333/333), done.
Checking connectivity... done.
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin14/rbconfig.rb:213: warning: Insecure world writable dir /Applications/adt-bundle-mac-x86_64-20140702/sdk in PATH, mode 040777
-- Homebrew --------------------------------------------------------------------
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin14/rbconfig.rb:213: warning: Insecure world writable dir /Applications/adt-bundle-mac-x86_64-20140702/sdk in PATH, mode 040777
==> This script will install:
/usr/local/bin/brew
/usr/local/Library/...
/usr/local/share/man/man1/brew.1
==> The following directories will be made group writable:
/usr/local/.
/usr/local/bin
==> The following directories will have their group set to admin:
/usr/local/.
/usr/local/bin
Press RETURN to continue or any other key to abort
==> /usr/bin/sudo /bin/chmod g+rwx /usr/local/. /usr/local/bin
Password:
Sorry, try again.
Password:
==> /usr/bin/sudo /usr/bin/chgrp admin /usr/local/. /usr/local/bin
==> /usr/bin/sudo /bin/mkdir /Library/Caches/Homebrew
==> /usr/bin/sudo /bin/chmod g+rwx /Library/Caches/Homebrew
==> Downloading and installing Homebrew...
remote: Counting objects: 3720, done.
remote: Compressing objects: 100% (3554/3554), done.
remote: Total 3720 (delta 37), reused 584 (delta 26), pack-reused 0
Receiving objects: 100% (3720/3720), 3.09 MiB | 570.00 KiB/s, done.
Resolving deltas: 100% (37/37), done.
From https://github.com/Homebrew/homebrew
* [new branch] master -> origin/master
HEAD is now at e153492 reformat nested heredocs in BuildFlagsError and BuildToolsError to match String#undent behavior
==> Installation successful!
==> Next steps
Run `brew help` to get started
-- Homebrew Cask ---------------------------------------------------------------
==> Tapping caskroom/cask
Cloning into '/usr/local/Library/Taps/caskroom/homebrew-cask'...
remote: Counting objects: 3114, done.
remote: Compressing objects: 100% (3038/3038), done.
remote: Total 3114 (delta 92), reused 710 (delta 60), pack-reused 0
Receiving objects: 100% (3114/3114), 5.80 MiB | 830.00 KiB/s, done.
Resolving deltas: 100% (92/92), done.
Checking connectivity... done.
Tapped 1 formula (3093 files, 24M)
Error: No such keg: /usr/local/Cellar/brew-cask
brew install brew-cask
==> Installing brew-cask from caskroom/homebrew-cask
==> Cloning https://github.com/caskroom/homebrew-cask.git
Cloning into '/Library/Caches/Homebrew/brew-cask--git'...
remote: Counting objects: 3071, done.
remote: Compressing objects: 100% (2990/2990), done.
remote: Total 3071 (delta 100), reused 731 (delta 65), pack-reused 0
Receiving objects: 100% (3071/3071), 5.78 MiB | 355.00 KiB/s, done.
Resolving deltas: 100% (100/100), done.
Checking connectivity... done.
Note: checking out 'b30085af1e10fb6c50c5c1395849af07d67a83ac'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b new_branch_name
……
……
……