Closed DrVanScott closed 8 years ago
Maybe it's only a feature? (Return to last edit position when opening files) https://github.com/voku/dotfiles/blob/master/.vimrc#L589
Yes, you are right. Would it be possible to define some exceptions for this feature? E.g. it does not make sense for ".git/COMMIT_EDITMSG".
BTW i realized another problem: if i open any ".git/COMMIT_EDITMSG" there is no cursor visible at first. After i press a key it appears... This problem is solved if disable "lazyredraw" in .vimrc
thanks for the autocmd fix!
you also changed the lazyredraw behaviour, but only for windows systems? I am quite sure that i also have it on linux systems. Unfortunately i am not able to recheck before Sunday.
Or did you change anything else which made this windows only?
"lazyredraw" is recommended by some users e.g. http://stackoverflow.com/a/378967/1155858 ... but I will also test it! :)
i also often notice that the bottom status line (mode, file name, EOL, cursor position etc.) is only visible after first key press. This is also fixed by (not lazyredraw)...
I can reproduce it on linux. I opened an empty file many times and got the following impression:
95%: cursor not blinking (starts to blink after first key press) 10%: bottom status line not showing (appears after first keypress)
Without "lazyredaw" i never got any of these problems.
Maybe it's a timing problem?
Since i merged your recent modifications i often observe that the cursor is not placed on first row/column in commit message editor (vi). Did you notice this too? (Maybe an cygwin issue?)