FS#75875 - [vim] Load /etc/vimrc.local for system-wide local customization
Attached to Project:
Arch Linux
Opened by William (wpyoga) - Sunday, 11 September 2022, 15:56 GMT
Last edited by Toolybird (Toolybird) - Monday, 12 September 2022, 01:33 GMT
Opened by William (wpyoga) - Sunday, 11 September 2022, 15:56 GMT
Last edited by Toolybird (Toolybird) - Monday, 12 September 2022, 01:33 GMT
|
Details
Description:
Load `/etc/vimrc.local` so that a sysadmin can customize `vim` for all users. To accomplish this, please add the following lines to the end of `/etc/vimrc`: ``` if filereadable("/etc/vimrc.local") source /etc/vimrc.local endif ``` Without this feature, to customize `vim` for all users, the sysadmin will need to edit `/etc/vimrc`. The consequence of that action is that every time `vim` is upgraded, an `/etc/vimrc.pacnew` file will be created. |
This task depends upon
Closed by Toolybird (Toolybird)
Monday, 12 September 2022, 01:33 GMT
Reason for closing: Won't implement
Additional comments about closing: See comments
Monday, 12 September 2022, 01:33 GMT
Reason for closing: Won't implement
Additional comments about closing: See comments
Incorrect. Please brush up on how pacman deals with .pacnew files [1]. Read especially the section "original = X, current = Y, new = X"
[1] https://wiki.archlinux.org/title/Pacman/Pacnew_and_Pacsave#.pacnew