Bug#347597: vim: Automatically jump to last editing position
Matthew A. Nicholson
mnicholson at digium.com
Wed Jan 11 17:53:22 UTC 2006
Package: vim
Version: 1:6.4-006+1
Severity: wishlist
I have always wondered why debian's default vimrc did not make vim jump
to the last editing position. Several other distros include this
functionality.
This line from ':help last-position-jump' in the vim online help,
enables this feature.
au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$") | exe "normal g'\"" | endif
This would be useful to have in the default vimrc, even if it it
commented out with a description like the 'syntax on' option is now.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-2-k7
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Versions of packages vim depends on:
ii libc6 2.3.5-11 GNU C Library: Shared libraries an
ii libgpmg1 1.19.6-21 General Purpose Mouse - shared lib
ii libncurses5 5.5-1 Shared libraries for terminal hand
ii vim-common 1:6.4-006+1 Vi IMproved - Common files
ii vim-runtime 1:6.4-006+1 Vi IMproved - Runtime files
vim recommends no packages.
-- no debconf information
More information about the pkg-vim-maintainers
mailing list