plugin
1. surround
https://github.com/tpope/vim-surround
S" -> "xxx"
2. emacs commandline
https://github.com/houtsnip/vim-emacscommandline
c-a : 先頭
c-e : 末尾
c-k : カーソル前削除
c-u : カーソル後削除
c-z : 先頭の ! 切り替え
esc, b : 単語戻る
esc, f : 単語進む
c-w : カーソル位置の単語先頭まで削除
3. smart input
https://github.com/kana/vim-smartinput
{ は削除した。
on/off の切り替え方法がわからない
" smart input ON/OFF 切り替え let g:switch_smartinput="yes" function! SwitchSmartInput() if "yes" ==? g:switch_smartinput let g:switch_smartinput="no" call smartinput#clear_rules() else let g:switch_smartinput="yes" call smartinput#define_default_rules() endif endfunction " キー割り当て nmap <leader>s :call SwitchSmartInput()<CR>