https://bugzilla.novell.com/show_bug.cgi?id=657053 https://bugzilla.novell.com/show_bug.cgi?id=657053#c0 Summary: /etc/vimrc contains code to jump to last location in file and cannot be overriden Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: x86-64 OS/Version: openSUSE 11.3 Status: NEW Severity: Minor Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: jpschewe@mtu.net QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7 /etc/vimrc contains: " Only do this part when compiled with support for autocommands. if has("autocmd") " When editing a file, always jump to the last known cursor position. " Don't do it when the position is invalid or when inside an event handler " (happens when dropping a file on gvim). autocmd BufReadPost * \ if line("'\"") > 0 && line("'\"") <= line("$") | \ exe "normal g`\"" | \ endif endif " has("autocmd") This is really nice for most files, but not for some, in particular commit messages. This should really be in the users ~/.vimrc so that they can choose to override this for commit messages or other files that they don't want to jump to the last location in. Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.