You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
" 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
call plug#end()
" themes sind im Unterordner ./colors/
colorscheme plastic
"set t_Co=256
set termguicolors
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
|