Your message dated Sun, 28 Oct 2018 15:56:07 -0400
with message-id <[email protected]>
and subject line Re: Bug#912165: File /etc/vim/vimrc is outdated
has caused the Debian Bug report #912165,
regarding File /etc/vim/vimrc is outdated
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
912165: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=912165
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: vim-common
Version: 2:8.0.0197-4+deb9u1
Severity: minor
Follows variable set defaults on $VIMRUNTIME/defaults.vim exist also on
/etc/vim/vimrc:
if ("autocmd")
filetype plugin intend on
endif
au BufReadPost /jump already on last position when reopening vim.
-- System Information:
Debian Release: 9.5
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.19.0+ (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages vim-common depends on:
ii xxd 2:8.0.0197-4+deb9u1
Versions of packages vim-common recommends:
ii vim 2:8.0.0197-4+deb9u1
ii vim-tiny 2:8.0.0197-4+deb9u1
vim-common suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
On Sun, Oct 28, 2018 at 08:00:37PM +0200, Corcodel Marian wrote:
> Follows variable set defaults on $VIMRUNTIME/defaults.vim exist also on
> /etc/vim/vimrc:
>
> if ("autocmd")
> filetype plugin intend on
> endif
>
> au BufReadPost /jump already on last position when reopening vim.
/etc/vim/vimrc doesn't _do_ anything other than load
$VIMRUNTIME/debian.vim and /etc/vim/vimrc.local (if it exists).
Everything else is just commented examples of potentially useful
settings.
defaults.vim is a mess because it is _only_ sourced if a user doesn't
have a ~/.vimrc, so /etc/vim/vimrc is still useful if a sysadmin wants
settings that are typically enabled. Of course, that also runs afoul of
defaults.vim, because defaults.vim is loaded _after_ /etc/vim/vimrc,
thus changing the sysadmin's settings...
Cheers,
--
James
GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7 2D23 DFE6 91AE 331B A3DB
--- End Message ---