diff options
| author | nsfisis <nsfisis@gmail.com> | 2021-11-09 10:31:38 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2021-11-09 10:32:03 +0900 |
| commit | a29cbbdbb3d6c25ab31cff7d7a5b4cf088c1e5be (patch) | |
| tree | c74c965c7128cca54d14ede80ac6ebf3a181b823 | |
| parent | c2a94b8574c9a486ad7bdf0760aace9dc21cd8b3 (diff) | |
| download | dotfiles-a29cbbdbb3d6c25ab31cff7d7a5b4cf088c1e5be.tar.gz dotfiles-a29cbbdbb3d6c25ab31cff7d7a5b4cf088c1e5be.tar.zst dotfiles-a29cbbdbb3d6c25ab31cff7d7a5b4cf088c1e5be.zip | |
.vimrc: do not restore cursor position when opening git-rebase-todo
| -rw-r--r-- | .vimrc | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |
