chezmoi/dot_vim/vimrc.d/10-settings.vim
2023-06-08 10:58:02 +02:00

33 lines
777 B
VimL

set nocompatible " be iMproved, required
filetype off " required
" some generic options... :help them if you want
" also check https://github.com/tpope/vim-sensible/blob/master/plugin/sensible.vim
set laststatus=2
set ruler
set wildmenu
set encoding=UTF-8 " necessary for vim-devicons
set showmatch " set parens to match each other
set incsearch " search as characters are entered
set hlsearch " highlight matches
" some auto indentation
syntax enable
set smartindent
set tabstop=8
set shiftwidth=4
set expandtab
set smarttab
set softtabstop=0
" numbering options
set number
set relativenumber
" show syntax highlighting (this might be superfluous with the above...)
" syntax on
" modify timeouts for key mapping and codes
" set timeoutlen=3000
" set ttimeoutlen=100