vimの履歴
僕のメインエディタ
習得中
% : 対応する括弧へ移動
qa[action]q :マクロ保存
qA[action]q :マクロ追記
[num]@a :マクロを[num]回実行
@@:前回実効したマクロを実行
リンク
.vimrc
set visualbell t_vb= set encoding=utf-8 set fileencoding=utf-8 set fileencodings=ucs-bom,iso-2022-jp-3,iso-2022-jp,eucjp-ms,euc-jisx0213,euc-jp,sjis,cp932,utf-8 set autoindent set tabstop=2 set softtabstop=2 set shiftwidth=2 set smartindent set expandtab set tabstop=2 set shiftwidth=2 set expandtab set softtabstop=2 autocmd BufNewFile,BufRead *.ctp set filetype=php autocmd BufNewFile,BufRead *.erb set filetype=html set laststatus=2 set statusline=%<%f\ %m%r%h%w set statusline+=%{'['.(&fenc!=''?&fenc:&enc).']['.&fileformat.']'} set statusline+=%=%l/%L,%c%V%8P set number syntax on set backspace=indent,eol,start set nobackup set history=200 set ignorecase set smartcase set wrapscan set hlsearch highlight Comment ctermfg=DarkCyan set textwidth=0 set statusline=%n\:%y%F\ \|%{(&fenc!=''?&fenc:&enc).'\|'.&ff.'\|'}%m%r%= highlight StatusLine term=NONE cterm=NONE ctermfg=black ctermbg=white set hidden imap <C-J> <Esc> set whichwrap=b,s,h,l,<,>,[,] highlight ZenkakuSpace cterm=underline set splitright set splitbelow au BufNewFile,BufRead *.ejs set filetype=html.javascript au BufNewFile,BufRead *.json set filetype=javascript au BufNewFile,BufRead *.lang set filetype=javascript au BufNewFile,BufRead *.data set filetype=javascript au BufNewFile,BufRead *.html set filetype=php