Skip to content

Commit

Permalink
Remove comma when close. from @yuroyoro
Browse files Browse the repository at this point in the history
  • Loading branch information
Surgo committed Feb 17, 2012
1 parent c44a974 commit fa10f90
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .vimrc
Expand Up @@ -121,6 +121,9 @@ endfunction
inoremap <Tab> <C-r>=InsertTabWrapper()<CR>
""Spacing after commma
inoremap , ,<Space>
"" Remove commma when close.
autocmd BufWritePre * :%s/\s\+$//ge
autocmd BufWritePre * :%s/\t/ /ge

"Search
set wrapscan
Expand Down

0 comments on commit fa10f90

Please sign in to comment.