" behave like vim set nocompatible " Titel anzeigen set title " Entf und Backspace löschen auch Zeilen set bs=2 " Modus anzeigen set showmode " Cursorposition anzeigen set ruler " Zeilennummern anzeigen set number " Syntax Highlighting an syntax on " Farbschema setzen "colo desert " Automatische Einrückung set autoindent " Pasten mit der Maus set paste " Zeigt korrespondierende Klammern set showmatch "set statusline set statusline=[%n]\ %t\ \ %y\ \ %m%r%h%w\ \ (%l,%v)\ \ %p%% " always show the status line set laststatus=2 " case doesn't matter in searches set ignorecase " detect the type of file filetype on " How many lines of history to remember set history=1000 " you can change buffer without saving set hid " highlight as you type you search phrase set incsearch " Fx (normal mode) switches buffers (excluding minibuf) map :b 1 map :b 2 map :b 3 map :b 4 map :b 5 map :b 6 map :b 7 map :b 8 " Function to upload current file function! Up() let path = input("Path: ", "htdocs/sublog/") :silent exe "!scp % nohostname:/home/okraits/" . path :redraw! endfunction map :call Up()