Skip to content

Instantly share code, notes, and snippets.

@thinkaxelthink
Created November 3, 2015 15:20
Show Gist options
  • Select an option

  • Save thinkaxelthink/49616c1627520433e2b0 to your computer and use it in GitHub Desktop.

Select an option

Save thinkaxelthink/49616c1627520433e2b0 to your computer and use it in GitHub Desktop.
my vimrc
set nocompatible " be iMproved
filetype off " required!
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
" call vundle#begin('~/some/path/here')
" let Vundle manage Vundle, required
Plugin 'gmarik/Vundle.vim'
" Axel's Bundles
Plugin 'Raimondi/delimitMate'
Plugin 'Lokaltog/vim-powerline'
Plugin 'scrooloose/syntastic'
Plugin 'amirh/HTML-AutoCloseTag'
Plugin '[email protected]:ervandew/supertab.git'
Plugin 'tpope/vim-surround'
Plugin 'editorconfig/editorconfig-vim'
" Themes
Plugin 'altercation/vim-colors-solarized'
" Syntax plugins
Plugin 'hail2u/vim-css3-syntax'
Plugin 'othree/html5-syntax.vim'
Plugin 'tpope/vim-markdown'
Plugin 'tpope/vim-sensible'
"Plugin 'jelera/vim-javascript-syntax'
Plugin 'tpope/vim-haml'
"Plugin 'puppetlabs/puppet-syntax-vim'
Plugin 'jQuery'
Plugin 'darthmall/vim-vue'
Plugin 'wavded/vim-stylus'
" All of your Plugins must be added before the following line
call vundle#end() " required
" Some kind of security thing
set modelines=0
" Default spelling language
set spell spelllang=en_us
" Set the colorscheme
colorscheme solarized
" Set the colorscheme to dark mode
set background=dark
" Hide the toolbar
set guioptions-=T
" Hide scrollbars
set guioptions-=r
set go-=L
" Enable syntax
syntax enable
" Automatically detect filetypes
filetype plugin indent on
" My Tab rules
"set expandtab
"set tabstop=2
"set shiftwidth=2
"set softtabstop=2
" Vice Tab Rules
"set noexpandtab
"set copyindent
"set preserveindent
"set shiftwidth=2
"set tabstop=2
"set softtabstop=0
" VMP3 tabs
set expandtab
set tabstop=4
set shiftwidth=4
set softtabstop=4
" Line number rules
set number
" Display the row and column of the cursor in the status line
set ruler
" Initially ignore cases in searches
set ignorecase
" Smart case searching. Case insensitive if all lowercase, but if you
" provide uppercase it will force matching case
set smartcase
" Support incremental searches (searching while you type)
set incsearch
" Visually display matching braces
set showmatch
" Prevent goofy backup files
set nobackup
" Prevent the creation of swp files, they're just a mess
set noswapfile
" No bells
set noerrorbells
" Do syntax check when the buffer is first loaded
let g:syntastic_check_on_open=1
let g:syntastic_delayed_redraws=1
" Powerline can do its thang
let g:Powerline_symbols = 'fancy'
" Hide .DS_Store and .git directories from Vim
let g:netrw_list_hide='.DS_Store,^\.git/$'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment