mirror of
https://github.com/systemd/systemd.git
synced 2024-10-27 18:55:40 +03:00
Merge pull request #2005 from eworm-de/vimrc
vimrc: add warning about dangerous exrc mode
This commit is contained in:
commit
3a7f4776cc
4
.vimrc
4
.vimrc
@ -1,4 +1,8 @@
|
||||
" 'set exrc' in ~/.vimrc will read .vimrc from the current directory
|
||||
" Warning: Enabling exrc is dangerous! You can do nearly everything from a
|
||||
" vimrc configuration file, including write operations and shell execution.
|
||||
" You should consider setting 'set secure' as well, which is highly
|
||||
" recommended!
|
||||
set tabstop=8
|
||||
set shiftwidth=8
|
||||
set expandtab
|
||||
|
Loading…
Reference in New Issue
Block a user