Last active
December 30, 2015 18:29
-
-
Save noodlehaus/7868354 to your computer and use it in GitHub Desktop.
vimrc settings, given pathogen and some plugins are already installed
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
" pathogen | |
execute pathogen#infect() | |
syntax on | |
filetype on | |
filetype plugin on | |
filetype indent on | |
" core settings | |
set ruler | |
set tabstop=2 | |
set shiftwidth=2 | |
set autoindent | |
set expandtab | |
set hlsearch | |
set incsearch | |
set backspace=indent,eol,start | |
" colors | |
colorscheme desert256 | |
" keymaps | |
inoremap jj <Esc> | |
" trim trailing whitespace | |
autocmd BufWritePre *.* :%s/\s\+$//e | |
" autoindent | |
au FileType phtml set autoindent |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment