Add default vimrc, remove some spaces

This commit is contained in:
Alexander Schäferdiek 2022-02-07 22:46:38 +01:00
parent a7dd42f15c
commit a81649d4c4
2 changed files with 29 additions and 3 deletions

26
etc/skel/.vim/vimrc Normal file
View file

@ -0,0 +1,26 @@
filetype plugin indent on
syntax on
set ai
set bs=2
set cc=80,120
set fdm=syntax
set formatoptions+=j
set lcs=tab:\│\ ,trail,eol
set ls=2
set nu
set rnu
set ru
set si
set sta
set sw=4
set ts=4
set ttyfast
set udf
set wmnu
" disable folding
set nofoldenable
if has('gui_running')
set go=m
endif

View file

@ -1,7 +1,7 @@
# This configuration makes use of zsh-syntax-highlighting.
# Some alias will call pre-defined applications.
# This configuration makes use of zsh-syntax-highlighting.
# Some alias will call pre-defined applications.
# Ensure to install them if a command is not working.
#
#
# SETTINGS
autoload -U compinit promptinit
autoload -U colors && colors