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.

33 lines
1.3 KiB

5 years ago
  1. " Um vim-plug zu installieren:
  2. " curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
  3. " Usage :PlugInstall [name]
  4. call plug#begin()
  5. Plug 'itchyny/lightline.vim'
  6. "Plug 'ap/vim-css-color' " doesn't work on all files
  7. call plug#end()
  8. " themes sind im Unterordner ./colors/
  9. colorscheme plastic
  10. "set t_Co=256
  11. set termguicolors
  12. set number " add line numbers
  13. set nocompatible " disable compatibility to vi
  14. set tabstop=4 " number of columns by tab
  15. set softtabstop=4 " see multiple spaces as tab
  16. set expandtab " converts tab to whitespaces
  17. set shiftwidth=4 " width for autoindents
  18. set hlsearch " highlight search results
  19. set showmatch " show matching brackets
  20. set mouse=v " middle-click paste with mouse
  21. set ignorecase " case insensitive matching
  22. set wildmode=longest,list " bash-like tab completions
  23. "set cc=80 " 80 column border for good coding style
  24. syntax on " syntax highlighting
  25. augroup numbertoggle
  26. autocmd!
  27. autocmd BufEnter,FocusGained,InsertLeave * set relativenumber
  28. autocmd BufLeave,FocusLost,InsertEnter * set norelativenumber
  29. augroup END