update dotfiles

This commit is contained in:
2021-08-19 16:03:10 +02:00
parent 8f163b3ed7
commit 714d857a98
4 changed files with 103 additions and 38 deletions

11
vimrc
View File

@@ -1,12 +1,5 @@
set nocompatible
" Pluigin installation using vim-plug "
call plug#begin('~/.vim/plugged')
Plug 'morhetz/gruvbox'
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
call plug#end()
" Tabstop, Shiftwith and replace tabs with spaces but not in makefiles "
set tabstop=2
set shiftwidth=2
@@ -17,6 +10,10 @@ autocmd FileType make set noexpandtab
autocmd BufNewFile,BufRead *.md set ft=markdown tw=79
autocmd BufNewFile,BufRead *.tex set ft=tex tw=79
autocmd BufNewFile,BufRead *.txt set ft=sh tw=79
autocmd BufNewFile,BufRead *.py set ft=python ts=4 sw=4 tw=88 et
" automatically load all installed plugins in ~/.vim/pack "
packloadall
" Syntaxhighlighting, colorscheme, linenumbers "
syntax on