Listen/Treffen/2020-11-01.md

4.2 KiB

layout
default

Chaostreff Alzey 01.11.2020

\frac{\mu}{\sqrt{\Phi^x}}

Daniels .vimrc:

set nocompatible              " be iMproved, required
filetype off                  " required

set number

" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')

" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'

" The following are examples of different formats supported.
" Keep Plugin commands between vundle#begin/end.

Plugin 'l04m33/vlime', {'rtp': 'vim/'}
Plugin 'supercollider/scvim'
Plugin 'rust-lang/rust.vim'
Plugin 'vim-syntastic/syntastic'
Plugin 'luochen1990/rainbow'
Plugin 'ycm-core/YouCompleteMe'
Plugin 'preservim/nerdtree'
Plugin 'vim-airline/vim-airline'
Plugin 'tpope/vim-fugitive'

" All of your Plugins must be added before the following line
call vundle#end()            " required
filetype plugin indent on    " required
" To ignore plugin indent changes, instead use:
"filetype plugin on
"
" Brief help
" :PluginList       - lists configured plugins
" :PluginInstall    - installs plugins; append `!` to update or just :PluginUpdate
" :PluginSearch foo - searches for foo; append `!` to refresh local cache
" :PluginClean      - confirms removal of unused plugins; append `!` to auto-approve removal
"
" see :h vundle for more details or wiki for FAQ
" Put your non-Plugin stuff after this line

" YCM-stuff
let g:ycm_language_server =
\       [
\               {
\                       'name': 'rust',
\                       'cmdline': ['rust-analyzer'],
\                       'filetypes': ['rust'],
\                       'project_root_files': ['Cargo.toml']
\               }
\       ]

" some variables
let g:sclangTerm = "st"
let g:rainbow_active = 1
set foldmethod=syntax
set foldnestmax=1
set tabstop=3
set softtabstop=0 noexpandtab
set shiftwidth=3
set splitbelow

" activates syntax highlighting among other things
syntax on

color industry

" highlight text over 80 characters long
highlight OverLength ctermbg=DarkGray ctermfg=Red guibg=#592929
match OverLength /\%81v.\+/
" allows you to deal with multiple unsaved
" buffers simultaneously without resorting
" to misusing tabs
set hidden

" Make tabs work
augroup expandtabFTW
        autocmd!
        autocmd FileType * setlocal tabstop=3 shiftwidth=3 softtabstop=0 noexpandtab
        augroup END

" Open NerdTree
autocmd vimenter * NERDTree

" just hit backspace without this one and
" see for yourself
set backspace=indent,eol,start

Jans .vimrc:

set number
set nowrap
set showbreak=+++
set textwidth=100
set showmatch
set visualbell

set hlsearch
set smartcase
set ignorecase
set incsearch

set autoindent
set expandtab
set shiftwidth=4
set smartindent
set smarttab
set softtabstop=4

set ruler

set undolevels=1000
set backspace=indent,eol,start

set term=xterm-256color
filetype plugin indent on
syntax on