summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Ritter2024-02-22 15:33:39 +0100
committerSteffen Ritter2024-02-22 15:33:39 +0100
commit72f190f8dadc56b4220e7229dce84f9628a2da44 (patch)
tree2847d6980cb8d67941e5a74989ed589f87aa5313
parent[SS?S] Use correct tmate config file (diff)
downloadsetup-scripts-72f190f8dadc56b4220e7229dce84f9628a2da44.tar.gz
setup-scripts-72f190f8dadc56b4220e7229dce84f9628a2da44.tar.xz
setup-scripts-72f190f8dadc56b4220e7229dce84f9628a2da44.zip
[SSPS] Respect vimrc.local
Our settings in /etc/vimrc.local are overriden by defaults.vim, which is loaded afterwards if no ~/.vimrc is found. That at least sometimes enables mouse-mode which is shit. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=864074
-rw-r--r--satellit_installer/static_files/system/etc/vim/vimrc.local3
1 files changed, 3 insertions, 0 deletions
diff --git a/satellit_installer/static_files/system/etc/vim/vimrc.local b/satellit_installer/static_files/system/etc/vim/vimrc.local
index 8e09d96..4bfb95d 100644
--- a/satellit_installer/static_files/system/etc/vim/vimrc.local
+++ b/satellit_installer/static_files/system/etc/vim/vimrc.local
@@ -1,3 +1,6 @@
+runtime! defaults.vim
+let g:skip_defaults_vim = 1
+
syntax on
set showmatch
set smartcase