準備
ターミナルの色変更
Mac Terminal のカラー設定をSolarized にする
Neo bundleの設定
gitの補完設定
bash で git コマンドのブランチ名などを補完するには
vimの設定
初心者向け Vimでクリップボード連携(コピー&ペースト)する方法
設定
vimrc
.vimrc
if has('vim_starting')
set nocompatible
if !isdirectory(expand("~/.vim/bundle/neobundle.vim/"))
echo "install neobundle..."
:call system("git clone git://github.com/Shougo/neobundle.vim ~/.vim/bundle/neobundle.vim")
endif
set runtimepath+=~/.vim/bundle/neobundle.vim/
endif
call neobundle#begin(expand('~/.vim/bundle'))
let g:neobundle_default_git_protocol='https'
NeoBundleFetch 'Shougo/neobundle.vim'
NeoBundle 'nanotech/jellybeans.vim'
NeoBundle 'altercation/vim-colors-solarized'
NeoBundleCheck
call neobundle#end()
filetype plugin indent off
set t_Co=256
syntax on
set clipboard+=unnamed
set backspace=indent,eol,start
set expandtab
set tabstop=4
set shiftwidth=4
set background=dark
colorscheme solarized
screenの設定
.screenrc
startup_message off
shelltitle "$ |bash"
hardstatus alwayslastline "%{.bW}%-w%{.rW}%n %t%{-}%+w %=%{..G} %H %{..Y} %Y %m/%d %C%a "
hardstatus off
termcap * 'G0:S0=\E(%.:E0=\E(B:TY=iso2022'
autodetach on
defflow off
crlf off
vbell off
vbell_msg "Bell"
screen 0
screen 1
bashrcの設定
.bashrc
alias ls='ls -G'
export WORKON_HOME=$HOME/.virtualenvs
source /usr/local/bin/virtualenvwrapper.sh
export PATH=$HOME/.nodebrew/current/bin:$PATH
source /usr/local/git/contrib/completion/git-prompt.sh
source /usr/local/git/contrib/completion/git-completion.bash
GIT_PS1_SHOWDIRTYSTATE=true
export PS1='\[\033[32m\]\u@\h\[\033[00m\]:\[\033[34m\]\w\[\033[31m\]$(__git_ps1)\[\033[00m\]\$ '