Last active
August 29, 2015 14:05
-
-
Save L8D/d8bf753c31b54c7df7db 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
| " setup NERDTree button | |
| nnoremap <silent> <leader>m :NERDTreeToggle<enter> | |
| " map ctrl+hjkl to c-w movements | |
| map <C-h> <C-w>h | |
| map <C-j> <C-w>j | |
| map <C-k> <C-w>k | |
| map <C-l> <C-w>l | |
| " pathogen stuff | |
| call pathogen#infect() | |
| syntax enable | |
| filetype plugin indent on | |
| " UTF-8 encoding | |
| set enc=utf8 | |
| set fenc=utf-8 | |
| set termencoding=utf-8 | |
| " disable old VI compatibility | |
| set nocompatible | |
| " smart indent | |
| set si | |
| " auto-indent | |
| set ai | |
| " tabs | |
| set tabstop=2 | |
| set expandtab " tabs-to-spaces | |
| set shiftwidth=2 | |
| " wrap lines at 80 chars | |
| set textwidth=80 | |
| set colorcolumn=80 | |
| " syntax highlighting | |
| set t_Co=256 | |
| syntax on | |
| colorscheme Tomorrow | |
| " line numbers | |
| set number | |
| " highlight matching braces | |
| set showmatch | |
| " intelligent comments I think | |
| set comments=sl:/*,mb:\ *,elx:\ */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment