Last active
October 3, 2016 18:33
-
-
Save shuangjj/8f475a9713cc1a5c78dc5156b3426172 to your computer and use it in GitHub Desktop.
vimrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Vim Configuration file with vundle plugin manager | |
" Use vim settings rather than vi settings | |
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() | |
" alternatively, pass a path where Vundle should install plugins | |
"call vundle#begin('~/some/path/here') | |
" let Vundle manage Vundle, required | |
Plugin 'VundleVim/Vundle.vim' | |
" vim-go plugin | |
Plugin 'fatih/vim-go' | |
" Taglist | |
" sudo apt-get install exuberant-ctags | |
Plugin 'taglist.vim' | |
" Solidity highlighter | |
Plugin 'tomlion/vim-solidity' | |
call vundle#end() | |
filetype plugin indent on " required | |
" :PluginList - lists configured plugins | |
" :PluginInstall - installs plugins; append `!` to update or just :PluginUpdate | |
" :PluginSearch foo - searches for foo; append `!` to refresh local cache | |
" :PluginClean - confirms removal of unused plugins; append `!` to auto-approve removal | |
" | |
" see :h vundle for more details or wiki for FAQ | |
" Put your non-Plugin stuff after this line | |
" Enable syntax highlight & auto indent | |
syntax on | |
set smartindent | |
" Set tab width | |
set shiftwidth=4 | |
set tabstop=4 | |
set expandtab | |
set smarttab | |
" Theme and color | |
color delek | |
set colorcolumn=80 | |
hi ColorColumn ctermbg=Cyan | |
" Show autocomplete menu | |
set wildmenu | |
" Toggle configuration | |
let Tlist_Show_One_File = 1 | |
let Tlist_Exit_OnlyWindow = 1 | |
" Configure vim-go | |
let g:go_highlight_functions = 1 | |
let g:go_highlight_methods = 1 | |
let g:go_highlight_structs = 1 | |
let g:go_highlight_interfaces = 1 | |
let g:go_highlight_operators = 1 | |
let g:go_highlight_build_constraints = 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Need to install Vundle vim plugin
Vundle.vim
$ git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim