vimにはrubyのパスを指定しないとsnippetsできないので、vimを入れる環境には前もってrbenvとかで良いからrubyを入れておく
vimをgitからビルドする時にrubyのパスを指定する必要があるが、which ruby
とかで使われているパスを調べておくと良い
.vimrc
cd dotfiles
cp .vimrc ~/
cp .gitconfig ~/
mkdir -p ~/.vim/bundle
git clone git://github.com/Shougo/neobundle.vim ~/.vim/bundle/neobundle.vim
~/.vimを開き以下のコマンドを入力する
:NeoBundleInstall
mkdir ~/.vimbackup
にてバックアップ用のファイルを作成してあげる
brew install zsh zsh-autosuggestions zsh-completions zsh-syntax-highlighting colordiff reattach-to-user-namespace tmux zplug peco
git clone --recursive https://github.com/sorin-ionescu/prezto.git "${ZDOTDIR:-$HOME}/.zprezto"
shell上で以下のコマンド実行
$ setopt EXTENDED_GLOB
for rcfile in "${ZDOTDIR:-$HOME}"/.zprezto/runcoms/^README.md(.N); do
ln -s "$rcfile" "${ZDOTDIR:-$HOME}/.${rcfile:t}"
done
/etc/shellsのなかに /usr/local/bin/zsh
を追加し、以下のコマンドでデフォルトShellを変更する
chsh -s /usr/local/bin/zsh
cp .zshrc ~/
source ~/.zshrc
- itermの色設定
- Iterm2 → Preferences → Profiles → Colors → 「Color Presets」のタブから Import... を選択, dotfiles内に保存している
meru-hybrid.itermcolors
を選択する
- Iterm2 → Preferences → Profiles → Colors → 「Color Presets」のタブから Import... を選択, dotfiles内に保存している
- itermで開いたvimをスクロールできるようにする