mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
vimrc: add warning about dangerous exrc mode
This commit is contained in:
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
|
||||
|
||||
Reference in New Issue
Block a user