Skip to content

Instantly share code, notes, and snippets.

@multpix
Last active February 4, 2017 11:44
Show Gist options
  • Save multpix/84381856e28ea00f80cbec44511a6370 to your computer and use it in GitHub Desktop.
Save multpix/84381856e28ea00f80cbec44511a6370 to your computer and use it in GitHub Desktop.
My very simple vim config
set noswapfile
set number
set nocompatible
set tabstop=2
set shiftwidth=2
set smarttab
set expandtab
set smartindent
set textwidth=80
set colorcolumn=+1
set cursorline
set cursorcolumn
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'fcpg/vim-fahrenheit'
Plugin 'scrooloose/nerdtree'
Plugin 'vim-airline/vim-airline'
Plugin 'evidens/vim-twig'
Plugin 'digitaltoad/vim-pug'
Plugin 'joukevandermaas/vim-ember-hbs'
Plugin 'slim-template/vim-slim.git'
Plugin 'kchmck/vim-coffee-script'
Plugin 'wavded/vim-stylus'
Plugin 'yalesov/vim-emblem'
Plugin 'leafgarland/typescript-vim'
Plugin 'posva/vim-vue'
Plugin 'majutsushi/tagbar'
call vundle#end()
syntax enable
colorscheme fahrenheit
hi ColorColumn guibg=#2d2d2d ctermfg=242 ctermbg=236
if has("autocmd")
augroup module
autocmd BufRead,BufNewFile *.module set filetype=php
autocmd BufRead,BufNewFile *.install set filetype=php
autocmd BufRead,BufNewFile *.test set filetype=php
autocmd BufRead,BufNewFile *.inc set filetype=php
autocmd BufRead,BufNewFile *.profile set filetype=php
autocmd BufRead,BufNewFile *.view set filetype=php
augroup END
endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment