Last active
June 8, 2017 09:55
-
-
Save vaibhav276/e655ad958b4e29647f7c to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| 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 'gmarik/Vundle.vim' | |
| " The following are examples of different formats supported. | |
| " Keep Plugin commands between vundle#begin/end. | |
| " plugin on GitHub repo | |
| Plugin 'scrooloose/nerdtree' | |
| Plugin 'majutsushi/tagbar' | |
| Plugin 'vim-scripts/Conque-GDB.git' | |
| "Plugin 'altercation/vim-colors-solarized' | |
| "Plugin 'xolox/vim-misc' | |
| "Plugin 'xolox/vim-notes' | |
| " Plugin 'hexman.vim' | |
| Plugin 'airblade/vim-gitgutter' | |
| "Plugin 'steffanc/cscopemaps.vim' | |
| "Plugin 'vim-scripts/JavaBrowser' | |
| "Plugin 'Shougo/unite.vim' | |
| "Plugin 'devjoe/vim-codequery' | |
| Plugin 'bling/vim-airline' | |
| Plugin 'artur-shaik/vim-javacomplete2' | |
| " All of your Plugins must be added before the following line | |
| call vundle#end() " required | |
| filetype plugin indent on " required | |
| " To ignore plugin indent changes, instead use: | |
| "filetype plugin on | |
| " | |
| " Brief help | |
| " :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 | |
| "Custom shortcuts | |
| nmap <c-a> :TagbarToggle<CR> | |
| nmap <c-n> :NERDTreeToggle<CR> | |
| map <c-l> :NERDTreeFind<cr> | |
| nmap :vr :vertical resize | |
| nmap <c-c> :ConqueTermSplit | |
| " nmap <c-k> :ConqueTermSplit git grep | |
| " nmap <c-F> :ConqueTermSplit find . -name | |
| " nmap <c-t> :ConqueTermSplit ctags -R * | |
| syntax on | |
| se nu | |
| set hlsearch | |
| "hi Search cterm=underline ctermfg=NONE ctermbg=NONE " Less distractive highlighting for console | |
| "Tabs | |
| set tabstop=3 | |
| set shiftwidth=3 | |
| set smarttab | |
| set expandtab | |
| set smartindent | |
| set foldmethod=syntax | |
| set foldlevel=99 "Unfold upto 99 levels when file is opened | |
| hi Folded ctermbg=242 "Make folding color less bright | |
| " JavaComplete plugin | |
| filetype plugin on | |
| set omnifunc=syntaxcomplete#Complete | |
| autocmd FileType java setlocal omnifunc=javacomplete#Complete | |
| " GUI Options | |
| syntax enable | |
| :set guioptions-=m "remove menu bar | |
| :set guioptions-=T "remove toolbar | |
| :set guioptions-=r "remove right-hand scroll bar | |
| :set guioptions-=L "remove left-hand scroll bar | |
| set encoding=utf-8 "For nerdtree |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment