" 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, but seems faster than chrisbra/colorizer "Plug 'chrisbra/colorizer' "Plug 'rrethy/vim-hexokinase', { 'do': 'make hexokinase' } " requires golang, roughly 250mb "Plug 'norcalli/nvim-colorizer.lua' "requires vim > 0.4 call plug#end() " themes sind im Unterordner ./colors/ colorscheme plastic "colorscheme papercolor-light "set t_Co=256 set termguicolors "requires vim > 0.4 "lua require'colorizer'.setup() "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