aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--.vimrc3
1 files changed, 2 insertions, 1 deletions
diff --git a/.vimrc b/.vimrc
index 9537571..427e152 100644
--- a/.vimrc
+++ b/.vimrc
@@ -607,7 +607,8 @@ Autocmd BufEnter,WinEnter,BufWinEnter *
" Jump to the last cursor position when you open a file.
Autocmd BufRead *
- \ if 0 < line("'\"") && line("'\"") <= line('$') && &filetype !~# 'commit' |
+ \ if 0 < line("'\"") && line("'\"") <= line('$') &&
+ \ &filetype !~# 'commit' && &filetype !~# 'rebase' |
\ execute "normal g`\"" |
\ endif