Skip to content

Instantly share code, notes, and snippets.

@kinef
Created July 2, 2013 11:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kinef/5908655 to your computer and use it in GitHub Desktop.
Save kinef/5908655 to your computer and use it in GitHub Desktop.
環境構築・環境の共有・dotfilesのまとめ方(tmux + zsh + vim) ref: http://qiita.com/kinef/items/7ac05edbc4ed7656ad79
./
|-- .gvimrc
|-- .tmux.conf
|-- .vimrc
|-- .zshrc
|-- formac
| `-- key4remap
| `-- private.xml
|-- setup.sh
|-- vimfiles
| |-- bundle
| |-- template
| `-- vundle.git
|-- vimrc
`-- zsh
# gitのプラグイン管理
# git add submodule $remote_path $install_pathといった形式
git add submodule http://github.com/gmarik/vundle.git .vimfiles/vundle.git
$ cd ~/
# これでdotfilesディレクトリが~/以下に作成される。
$ git clone https://kinef@bitbucket.org/kinef/dotfiles.git
# dotfilesディレクトリに移動
$ cd dotfiles/
# サブモジュールをインストールする。
$ git submodule init
$ git submodule update
# 必要ディレクトリとリンクを作成
$ ./setup.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment