aboutsummaryrefslogtreecommitdiff
path: root/vimrc
diff options
context:
space:
mode:
authorThorsten Töpper <atsutane@freethoughts.de>2024-02-02 19:11:57 +0100
committerThorsten Töpper <atsutane@freethoughts.de>2024-02-02 19:11:57 +0100
commit867ed2181d40ef8207f1487c6ff448cb35c7379a (patch)
tree42b9deaa3d97f56681f983d47b996bb91538da8d /vimrc
parent08d1544cb45b521d13818b74c919d9418d8d7e9a (diff)
downloaddotfiles-867ed2181d40ef8207f1487c6ff448cb35c7379a.tar.gz
dotfiles-867ed2181d40ef8207f1487c6ff448cb35c7379a.tar.bz2
vimrc: merge from different systems
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc10
1 files 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