Created
June 1, 2011 16:53
-
-
Save brendano/1002734 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| " Use Vim settings, rather then Vi settings (much better!). | |
| " This must be first, because it changes other options as a side effect. | |
| set nocompatible | |
| " allow backspacing over everything in insert mode | |
| set backspace=indent,eol,start | |
| " set autoindent | |
| set backup " keep a backup file | |
| set history=10000 " lines of command line history | |
| set ruler " show the cursor position all the time | |
| set showcmd " display incomplete commands | |
| set incsearch " do incremental searching | |
| set ignorecase smartcase | |
| set scrolloff=2 | |
| set showmatch " parenthesis matching | |
| syntax on | |
| set hlsearch | |
| " tab completion for e.g. :e is awesome with these | |
| set wildmenu | |
| "set wildmode=list:longest,full | |
| set wildmode=list:longest | |
| set hidden " have multiple buffers without saving all the time | |
| set title | |
| " Tabbing world... I *think* this is the best compromise between all | |
| " the competing incompatible standards out there... | |
| set expandtab " spaces not tabs | |
| set tabstop=8 " the one true tab size | |
| set shiftwidth=2 " size for auto/smartindent | |
| set softtabstop=2 " when you press <tab> it moves by this much | |
| set shiftround | |
| set smartindent " :help says needs to have autoindent but doesn't seem so | |
| set encoding=utf8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment