" Um vim-plug zu installieren: " curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim " Usage :PlugInstall [name] call plug#begin() Plug 'itchyny/lightline.vim' "Plug 'ap/vim-css-color' " doesn't work on all files Plug 'chrisbra/colorizer' call plug#end() " themes sind im Unterordner ./colors/ colorscheme plastic "set t_Co=256 set termguicolors "doesnt work "let g:colorizer_auto_color = 1 "workaround: augroup autocolor autocmd! autocmd BufEnter,BufLeave * ColorHighlight augroup END set number " add line numbers set nocompatible " disable compatibility to vi set tabstop=4 " number of columns by tab set softtabstop=4 " see multiple spaces as tab set expandtab " converts tab to whitespaces set shiftwidth=4 " width for autoindents set hlsearch " highlight search results set showmatch " show matching brackets set mouse=v " middle-click paste with mouse set ignorecase " case insensitive matching set wildmode=longest,list " bash-like tab completions "set cc=80 " 80 column border for good coding style syntax on " syntax highlighting augroup numbertoggle autocmd! autocmd BufEnter,FocusGained,InsertLeave * set relativenumber autocmd BufLeave,FocusLost,InsertEnter * set norelativenumber augroup END