Vim
提供: 個人的記録
vimrc
設定の再読み込み
:source ~/.vimrc
個人的なvimrc
- タブ、半角文字、全角文字を可視化
- タブを4タブに設定
color peachpuff set nu set ai set ts=4 set sw=4 set softtabstop=0 set list set lcs=tab:>-,eol:$ function! HighlightSpace() highlight HalfSpace cterm=underline ctermfg=DarkMagenta gui=underline guifg=DarkMagenta highlight HighlightSpace cterm=undercurl ctermfg=DarkMagenta gui=undercurl guifg=DarkMagenta endfunction if has('syntax') augroup HighlightSpace autocmd! autocmd ColorScheme * call HighlightSpace() autocmd VimEnter,WinEnter * match HalfSpace / / autocmd VimEnter,WinEnter * 2match HighlightSpace / / augroup END call HighlightSpace() endif