Skip to content

Instantly share code, notes, and snippets.

@dromer
Created January 7, 2015 15:55
Show Gist options
  • Save dromer/c9efc217e59608072227 to your computer and use it in GitHub Desktop.
Save dromer/c9efc217e59608072227 to your computer and use it in GitHub Desktop.
.vimrc
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" let Vundle manage Vundle, required
Plugin 'gmarik/Vundle.vim'
" The bundles you install will be listed here
Bundle 'powerline/powerline', {'rtp': 'powerline/bindings/vim/'}
Bundle 'tpope/vim-fugitive'
Bundle 'scrooloose/nerdtree'
Bundle 'scrooloose/syntastic'
"Bundle 'klen/python-mode'
Bundle 'davidhalter/jedi-vim'
Bundle 'groenewege/vim-less'
call vundle#end() " required
filetype plugin indent on " required
" execute pathogen#infect()
syntax on
"colorscheme delek
colorscheme elflord
" filetype plugin indent on
set smartindent
set tabstop=4
set shiftwidth=4
set expandtab
" nerdtree options
set guifont=DejaVu\ Sans\ Mono\ for\ Powerline\ 9
set laststatus=2
let g:Powerline_symbols = 'fancy'
" more syntax highlighting
" au BufNewFile,BufRead *.less set filetype=css
" Key mappings:
if &term =~ '^screen'
" tmux will send xterm-style keys when its xterm-keys option is on
execute "set <xUp>=\e[1;*A"
execute "set <xDown>=\e[1;*B"
execute "set <xRight>=\e[1;*C"
execute "set <xLeft>=\e[1;*D"
endif
map <F2> :NERDTreeToggle<CR>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment