~~META: date created = 2017-06-13 09:00 ~~ ====== vim Stuff ====== ===== Windows ===== CTRL-W switch window Open files in windows: $ vim -o file1 file2 # horizontal split $ vim -O file1 file2 # vertical split ===== Tabs ===== :tabnew neuer Tab gT, gt Tab wechseln $ vim -p files in Tabs öffnen ===== diff ===== $ vim -d ===== Mouse woes in Debian 9+ ===== Use shift+Mouse button to paste stuff. ===== .vimrc ===== "activate syntax highlighting syntax on "cope with black background set background=dark "honor modelines in files set modeline set modelines=5 "activate intelligent indenting set autoindent set backspace=indent,eol,start "display statusline set laststatus=2 "display position in statusline set ruler "activate linenumbers set number "display tab characters set listchars=tab:>- ===== Modelines ===== ==== python ==== # vim:ft=python:ts=4:sts=4:sw=4:et:fileencoding=utf8 {{tag>kb vim}}