[from now] 2014/08/15 07:43:49

diff --git a/.bash_profile b/.bash_profile
index f12e825..076e4d5 100644
--- a/.bash_profile
+++ b/.bash_profile
@@ -4,7 +4,6 @@ export TERM=xterm-256color
 PATH=""
 PATH=$HOME/.plenv/bin:$PATH
 PATH=$HOME/.rbenv/bin:$PATH
-PATH=$HOME/bin:$PATH
 PATH=/usr/local/sbin:$PATH
 PATH=/usr/local/bin:$PATH
 PATH=/usr/sbin:$PATH
@@ -13,6 +12,7 @@ PATH=/sbin:$PATH
 PATH=/bin:$PATH
 export PATH

+alias vi='vim'
 alias grep='grep --color=auto'
 alias egrep='egrep --color=auto'
 alias fgrep='fgrep --color=auto'
diff --git a/.screenrc b/.screenrc
index 5884e0f..77d1046 100644
--- a/.screenrc
+++ b/.screenrc
@@ -1,21 +1,24 @@
 escape ^Tt
+shell -/bin/bash
+autodetach on
 term xterm-256color
+termcapinfo  xterm-256color hs@:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l\E[?1;4;6l
 vbell off
 startup_message off
-shell -/bin/bash
 defscrollback 21000
-autodetach on
 defkanji utf-8
 defencoding utf-8
-encoding utf-8 utf-8
+encoding utf-8
 hardstatus off
 caption always "%{= kw}%0C:%s %{= kd}%-w%{= ck}%n %t%{-}%+w"
-shelltitle "$ |bash"
+shelltitle "$ | bash"
+msgwait 5
+zombie

-bind ! only
 bind " "
-bind "'"
+bind ! only
 bind '"'
+bind "'"
 bind *
 bind , title
 bind - split
@@ -48,27 +51,6 @@ bind X
 bind Z
 bind [
 bind ]
-bind ^?
-bind ^@
-bind ^B
-bind ^F
-bind ^G
-bind ^H
-bind ^I
-bind ^L
-bind ^M
-bind ^O focus
-bind ^Q
-bind ^R source $HOME/.screenrc
-bind ^S
-bind ^T copy
-bind ^V
-bind ^W
-bind ^X
-bind ^Z
-bind ^[
-bind ^\
-bind ^]
 bind _
 bind b
 bind c screen
@@ -91,3 +73,27 @@ bind x
 bind z
 bind {
 bind }
+bind ^?
+bind ^@
+bind ^B
+bind ^C screen
+bind ^D detach
+bind ^F
+bind ^G
+bind ^H
+bind ^I
+bind ^K kill
+bind ^L
+bind ^M
+bind ^O focus
+bind ^Q
+bind ^R eval "source $HOME/.screenrc" "echo '.screenrc reloaded!'"
+bind ^S
+bind ^T copy
+bind ^V
+bind ^W
+bind ^X
+bind ^Z
+bind ^[
+bind ^\
+bind ^]
diff --git a/.vimrc b/.vimrc
index 6c42447..5d44ee5 100644
--- a/.vimrc
+++ b/.vimrc
@@ -3,6 +3,7 @@ source $HOME/.vim/neocomplcache.vim
 source $HOME/.vim/neosnippet.vim
 source $HOME/.vim/solarized.vim
 source $HOME/.vim/gist.vim
+source $VIMRUNTIME/macros/matchit.vim

 " chmod +x
@@ -31,11 +32,22 @@ nnoremap <C-B> :<C-U>Unite buffer<CR>
 nnoremap <C-N> :<C-U>Unite file -start-insert<CR>
 nnoremap <C-Z> :<C-U>Unite file_mru<CR>
 nnoremap <C-P> :<C-U>Unite register history/yank<CR>
-nnoremap ,r    :<C-U>source $HOME/.vimrc<CR>:echomsg "Reload!"<CR>
-
+nnoremap ,r    :<C-U>source $HOME/.vimrc<CR>:echomsg ".vimrc reloaded!"<CR>
+nnoremap ,e    :<C-U>:verbose set enc? fenc? fencs? ff? ffs?<CR>
+nnoremap <F6>  :<C-U>set fileformat=dos<CR>
+nnoremap <F7>  :<C-U>set fileformat=unix<CR>
+nnoremap <F8>  :<C-U>set fileformat=mac<CR>
+nnoremap <F10> :<C-U>e ++enc=sjis<CR>
+nnoremap <F11> :<C-U>e ++enc=euc-jp<CR>
+nnoremap <F12> :<C-U>e ++enc=utf8<CR>
 inoremap <C-B> <ESC>:Unite buffer<CR>

 syntax on
+set encoding=utf8
+set fileencoding=utf8
+set fileencodings=euc-jp,sjis,utf8
+set fileformat=unix
+set fileformats=unix,dos
 set number
 set list
 set listchars=tab:>.,trail:-,extends:\
@@ -66,3 +78,4 @@ set scrolloff=5
 set notimeout ttimeout ttimeoutlen=200
 set laststatus=2
 set cmdheight=1
+