Skip to content

Instantly share code, notes, and snippets.

@noodlehaus
Last active December 30, 2015 18:29
Show Gist options
  • Save noodlehaus/7868354 to your computer and use it in GitHub Desktop.
Save noodlehaus/7868354 to your computer and use it in GitHub Desktop.
vimrc settings, given pathogen and some plugins are already installed
" 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