Sfoglia il codice sorgente

vim: Do not use the Debian default vimrc. Ever.

Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
Maximilian Wilhelm 4 anni fa
parent
commit
40755b33a6
2 ha cambiato i file con 6 aggiunte e 0 eliminazioni
  1. 4 0
      vim/init.sls
  2. 2 0
      vim/vimrc.local

+ 4 - 0
vim/init.sls

@@ -6,6 +6,10 @@ vim:
   pkg.installed:
     - name: vim
 
+/etc/vim/vimrc.local:
+  file.managed:
+    - source: salt://vim/vimrc.local
+
 /root/.vimrc:
   file.managed:
     - source: salt://vim/vimrc

+ 2 - 0
vim/vimrc.local

@@ -0,0 +1,2 @@
+" Do not load defaults ever at all
+let g:skip_defaults_vim = 1