vim

surround.vimのキーバインドを設定した

let mapleader="," nmap <leader>q <Plug>Csurround w" imap <leader>q <Esc><Plug>Csurround w"<Right>wa nmap <leader>sq <Plug>Csurround w' imap <leader>sq <Esc><Plug>Csurround w'<Right>wa csw"だと4文字あって多かったので,qの2文字にした例えばインサートモードで String str = test ここで,qを押すと・・・ String str = "test" に</right></plug></esc></leader></plug></leader></right></plug></esc></leader></plug></leader>…

vimのインサートモードでエスケープキー設定した

http://vim.wikia.com/wiki/VimTip285を参考にした inoremap jj <Esc>j inoremap ;; <Esc> inoremap kk <Esc>k inoremap hh <Esc>^ ll は英単語によくあるので設定しない方がいいと思ってやめた</esc></esc></esc></esc>