diff --git a/.vimrc b/.vimrc index 979d36e..6acbe18 100644 --- a/.vimrc +++ b/.vimrc @@ -9,7 +9,7 @@ set nowrap " don't wrap lines set tabstop=2 shiftwidth=2 " a tab is two spaces (or set this to 4) set expandtab " use spaces, not tabs (optional) set backspace=indent,eol,start " backspace through everything in insert mode -autocmd BufWritePre *.py :%s/\s\+$//e " Trim whitespace on file save +autocmd BufWritePre * :%s/\s\+$//e " Trim whitespace on file save "" Searching set hlsearch " highlight matches