Rev | Author | # | Line |
---|---|---|---|
10 | AristotlePagaltzis | 1 | The [.vimrc] DotFile contains [Vim] commands executed upon startup and allows you to tweak the editor's behaviour in a myriad of ways. Here is a minimal collection of some sensible non-default settings. |
1 | SamJansen | 2 | |
9 | AristotlePagaltzis | 3 | <verbatim> |
10 | AristotlePagaltzis | 4 | set nocompatible " don't emulate vanilla vi faithfully, to break its limitations |
5 | set incsearch " Enable incremental searching by default | ||
6 | set showmatch " Highlight the matches of the last search | ||
7 | set backspace=2 " allow backspacing over everything in insert mode | ||
8 | set autoindent " always set autoindenting on | ||
9 | set textwidth=0 " Don't wrap words by default | ||
10 | set ts=4 " Change tab spacing to a lower value (default=8) | ||
11 | set encoding=utf-8 " you really should be using utf-8 now | ||
12 | set termencoding=utf-8 " ditto | ||
13 | JohnMcPherson | 13 | "set fileencodings=utf-8,latin1 " use utf-8, fall back to latin1 if invalid bytes are found |
14 | set fileencodings= " don't do any encoding conversion (otherwise munges binary files) | ||
10 | AristotlePagaltzis | 15 | syntax on " enable syntax highlighting for many languages |
16 | set background=dark " better syntax colours for black terminals | ||
17 | if exists(":filetype") " newer versions of Vim support more intelligent filetype determination | ||
18 | filetype plugin indent on | ||
19 | runtime ftplugin/man.vim " to always have :Man available | ||
9 | AristotlePagaltzis | 20 | endif |
21 | </verbatim> |
lib/blame.php:177: Warning: Invalid argument supplied for foreach() (...repeated 3 times)