Skip to content

Instantly share code, notes, and snippets.

@libitte
Created December 27, 2017 16:28
Show Gist options
  • Save libitte/2ca82f8575e6b3343bbff911592d3591 to your computer and use it in GitHub Desktop.
Save libitte/2ca82f8575e6b3343bbff911592d3591 to your computer and use it in GitHub Desktop.
Brewfile で主要アプリを入れたあとの初期環境設定

Brewfile で諸々必要なアプリケーションをインストールした後、環境作りの手順を。

  • zsh
  • go
  • ghq peco hub
  • vim
  • tmux

zsh 環境のインストール

https://github.com/sorin-ionescu/prezto

see Installation https://github.com/sorin-ionescu/prezto#installation

go, ghq, peco, hub のインストール

https://qiita.com/itkrt2y/items/0671d1f48e66f21241e2

brew install go

export GOPATH=$HOME
export PATH=$PATH:$GOPATH/bin

brew tap motemen/ghq
brew install ghq

brew install peco

brew install hub

macvim のインストール

https://github.com/splhack/macvim-kaoriya/releases/tag/20171221
 ~/.zshrc に

if [ -f /Applications/MacVim.app/Contents/MacOS/Vim ]; then
  alias vi='env LANG=ja_JP.UTF-8 /Applications/MacVim.app/Contents/MacOS/Vim "$@"'
  alias vim='env LANG=ja_JP.UTF-8 /Applications/MacVim.app/Contents/MacOS/Vim "$@"'
fi

source ~/.zshrc する

~/.vimrc に


set number
imap <C-j> <esc>

tmux のインストール

brew install tmux

~/.tmux.conf は以下で。

https://gist.github.com/libitte/9d10f6abb52430517806

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment