Prevent vim sourcing order overriding settings like mouse-=a with defaults.vim
This commit is contained in:
parent
2497a648bf
commit
4868144e69
@ -28,5 +28,10 @@ None.
|
|||||||
|
|
||||||
## Troubleshooting
|
## Troubleshooting
|
||||||
|
|
||||||
* current vim runtime path with `:set runtimepath?`
|
```vim
|
||||||
* Check vim `:version`
|
:scriptnames
|
||||||
|
:set runtimepath?
|
||||||
|
:version
|
||||||
|
```
|
||||||
|
|
||||||
|
Also `vim -V`
|
@ -19,6 +19,7 @@
|
|||||||
path: /etc/vimrc
|
path: /etc/vimrc
|
||||||
marker: '" {mark} ANSIBLE MANAGED BLOCK'
|
marker: '" {mark} ANSIBLE MANAGED BLOCK'
|
||||||
block: |
|
block: |
|
||||||
|
let skip_defaults_vim=1
|
||||||
set runtimepath+=/var/lib/vim/addons
|
set runtimepath+=/var/lib/vim/addons
|
||||||
if filereadable("/etc/vimrc.local")
|
if filereadable("/etc/vimrc.local")
|
||||||
source /etc/vimrc.local
|
source /etc/vimrc.local
|
||||||
|
Loading…
Reference in New Issue
Block a user