Skip to content
Browse files

dont change the cursor position for svn files

  • Loading branch information...
1 parent 5c87edf commit 08b6a53df98ffbfe03298bf5d86e2d8ade6cf5a8 @scrooloose committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 vimrc
View
2 vimrc
@@ -289,7 +289,7 @@ vnoremap # :<C-u>call <SID>VSetSearch()<CR>??<CR>
"dont do it when writing a commit log entry
autocmd BufReadPost * call SetCursorPosition()
function! SetCursorPosition()
- if &filetype !~ 'commit\c'
+ if &filetype !~ 'svn\|commit\c'
if line("'\"") > 0 && line("'\"") <= line("$")
exe "normal! g`\""
normal! zz

0 comments on commit 08b6a53

Please sign in to comment.
Something went wrong with that request. Please try again.