From 867ed2181d40ef8207f1487c6ff448cb35c7379a Mon Sep 17 00:00:00 2001 From: Thorsten Töpper Date: Fri, 2 Feb 2024 19:11:57 +0100 Subject: vimrc: merge from different systems --- vimrc | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/vimrc b/vimrc index ced19d5..e70412e 100644 --- a/vimrc +++ b/vimrc @@ -1,3 +1,5 @@ +source $VIMRUNTIME/defaults.vim + " Don't ensure compatibility with vi at all cost set nocompatible " More flexible backspace @@ -11,6 +13,9 @@ set title set laststatus=2 " Automatically indent, and do it smart set autoindent smartindent +set tabstop=8 softtabstop=8 +set shiftwidth=4 smarttab +set expandtab " Enhanced mode for command-line completion set wildmenu " Don't jump to the matching bracket automatically @@ -23,13 +28,12 @@ set fileencoding=utf-8 encoding=utf-8 set nofen " Enable line numbers " set nu -" Set the tabwidth -set ts=4 " Enable syntax highlighting syntax on " swap file directory set directory=/tmp - +" Make mouse behave the same across all terminals +set mouse-=a " don't store .viminfo in $HOME set viminfo+=n/tmp/.viminfo_atsu -- cgit v1.2.3-70-g09d2