Skip to content

Instantly share code, notes, and snippets.

@thesabbir
Last active January 3, 2016 16:49
Show Gist options
  • Save thesabbir/8491638 to your computer and use it in GitHub Desktop.
Save thesabbir/8491638 to your computer and use it in GitHub Desktop.
My Vim Configuration for Javascript Development. Plugins installed via vundle.
syntax enable
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'davidhalter/jedi-vim'
call vundle#end()
filetype plugin indent on
set number
set ts=4
set nocompatible
set incsearch
set ignorecase
set expandtab
set textwidth=79
set shiftwidth=4
set softtabstop=4
set tabstop=4
set expandtab
autocmd BufRead *.py set smartindent cinwords=if,elif,else,for,while,try,except,finally,def,class
autocmd BufRead *.py set nocindent
autocmd BufWritePre *.py normal m`:%s/\s\+$//e ``
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment