diff --git a/dotfiles/.vimrc b/dotfiles/.vimrc index 2c55e0a..5377873 100644 --- a/dotfiles/.vimrc +++ b/dotfiles/.vimrc @@ -19,7 +19,7 @@ nnoremap t :tabnew set autoindent set backup set backupdir=$HOME/.vim/tmp -set expandtab +"set expandtab set foldmethod=marker set ignorecase set laststatus=2 @@ -31,12 +31,16 @@ set number set shiftwidth=2 set smartcase set smartindent -set softtabstop=2 +"set softtabstop=2 set statusline=%<%f\ %h%m%r%=\ %l/%L,%c%y set visualbell set whichwrap=b,s,h,l,<,>,~,[,] syntax on +"全角スペースを視覚化 +highlight ZenkakuSpace cterm=underline ctermfg=lightblue guibg=#666666 +au BufNewFile,BufRead * match ZenkakuSpace / / + "for matchit.vim source $VIMRUNTIME/macros/matchit.vim let b:match_words = &matchpairs.'<\([A-Za-z_\:][A-Za-z0-9.\-_\:]*\):