Skip to content

Commit

Permalink
vimrc: strip trailing whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
mslehto committed Aug 29, 2017
1 parent 596a985 commit a000e9d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vim/vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ imap <C-K> <c-o>:pyf /usr/local/llvm39/share/clang/clang-format.py<cr>
" http://www.alexeyshmalko.com/2014/using-vim-as-c-cpp-ide/
" ! mark prevents Vim from jumping to location of first error found
nnoremap <F4> :make!<cr>
nnoremap <silent> <F5> :let _s=@/ <Bar> :%s/\s\+$//e <Bar> :let @/=_s <Bar> :nohl <Bar> :unlet _s <CR>
set makeprg=gmake

if has('gui_running')
Expand Down

0 comments on commit a000e9d

Please sign in to comment.