Skip to content

Instantly share code, notes, and snippets.

@bewiwi
Last active August 29, 2015 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save bewiwi/9258717 to your computer and use it in GitHub Desktop.
Save bewiwi/9258717 to your computer and use it in GitHub Desktop.
"Before : git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle
"First run : :BundleInstall
set nocompatible
filetype off
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
Bundle 'gmarik/vundle'
Bundle 'scrooloose/nerdtree'
scriptencoding utf-8
set encoding=utf-8
set termencoding=utf-8
syntax on
set mouse=a
set tabstop=4
set shiftwidth=4
set expandtab
set laststatus=2
set cursorline
set number
"AutoNerdtree
function! StartUp()
if 0 == argc()
NERDTree
end
endfunction
let NERDTreeShowHidden = 1
autocmd VimEnter * call StartUp()
filetype plugin on
set undodir=~/.vim/undodir
set undofile
colorscheme peachpuff
com! FormatJSON %!python -m json.tool
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment