Skip to content

Instantly share code, notes, and snippets.

@avescodes
Created March 23, 2009 14:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save avescodes/83563 to your computer and use it in GitHub Desktop.
Save avescodes/83563 to your computer and use it in GitHub Desktop.
1 " Wrap too long lines
2 set wrap
3
4 " Tabs are 2 characters
5 set tabstop=2
6
7 " (Auto)indent uses 2 characters
8 set shiftwidth=2
9
10 " spaces instead of tabs
11 set expandtab
12
13 " guess indentation
14 set autoindent
15
16 " Expand the command line using tab
17 set wildchar=<Tab>
18
19 " show line numbers
20 set number
21
22 +-- 3 lines: Fold using markers -------------------------------------------------------------------------------------------------------------------------
25 set foldmethod=marker
26
27 " enable all features
28 set nocompatible
29
30 " powerful backspaces
31 set backspace=indent,eol,start
32
33 " highlight the searchterms
34 set hlsearch
35
36 " jump to the matches while typing
37 set incsearch
38
39 " ignore case while searching
40 set ignorecase
41
42 " don't wrap words
43 set textwidth=0
44
45 " history
46 set history=50
47
48 " 1000 undo levels
49 set undolevels=1000
50
14,1 Top
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment