Skip to content

Instantly share code, notes, and snippets.

@guliujian
Created September 10, 2018 13:49
Show Gist options
  • Save guliujian/86122f204d08d80effcd811a989bd7d8 to your computer and use it in GitHub Desktop.
Save guliujian/86122f204d08d80effcd811a989bd7d8 to your computer and use it in GitHub Desktop.
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'scrooloose/nerdtree'
Plugin 'jiangmiao/auto-pairs'
Plugin 'Yggdroot/indentLine'
Plugin 'tell-k/vim-autopep8'
Plugin 'scrooloose/nerdcommenter'
Plugin 'docunext/closetag.vim'
Plugin 'fatih/vim-go'
call vundle#end()
filetype plugin indent on
set t_Co=256
set background=dark
set number
set ruler
set hlsearch
set laststatus=2
syntax enable
syntax on
set cindent
set tabstop=4
set shiftwidth=4
set showmatch
set backspace=2
map <F2> :NERDTreeToggle<CR>
let NERDTreeChDirMode=1
let NERDTreeIgnore=['\~$', '\.pyc$', '\.swp$']
let g:indentLine_enabled = 1
let g:autopep8_disable_show_diff=1
let mapleader=','
map <F4> <leader>ci <CR>
let g:closetag_html_style=1
autocmd FileType go :set noexpandtab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment