Skip to content

Commit

Permalink
Update vimrc
Browse files Browse the repository at this point in the history
  • Loading branch information
babymastodon committed Mar 23, 2014
1 parent 51c1b26 commit 63b4735
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vimrc
Expand Up @@ -92,6 +92,9 @@ nnoremap <C-d> :e .<CR>
highlight OverLength ctermbg=red ctermfg=white
autocmd FileType python 2match OverLength /\%>80v.\+/

" Press F4 to toggle highlighting on/off, and show current value.
:noremap <F4> :set hlsearch! hlsearch?<CR>
" highlight trailing whitespace
highlight ExtraWhitespace ctermbg=red guibg=red
match ExtraWhitespace /\s\+$/
Expand Down

0 comments on commit 63b4735

Please sign in to comment.