Skip to content

Instantly share code, notes, and snippets.

@peterklipfel
Last active October 10, 2016 17:09
Show Gist options
  • Save peterklipfel/55642a8142047e4b956a to your computer and use it in GitHub Desktop.
Save peterklipfel/55642a8142047e4b956a to your computer and use it in GitHub Desktop.
set noswapfile
set nu
set autoindent
set softtabstop=2
set tabstop=2
set shiftwidth=2
set expandtab
set smartindent
set foldmethod=indent
set foldnestmax=10
set nofoldenable
set foldlevel=2
set backspace=2
syntax on
colorscheme hybrid
"colorscheme solarized
"set background=dark
"hi Normal ctermbg=none
match ErrorMsg '\s\+$' "mark trailing whitespace
set listchars=tab:▸\ ,eol:¬
set list
set clipboard=unnamed
set runtimepath^=~/.vim/bundle/ctrlp.vim
"----------VUNDLE------------
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')
set wildignore+=*.class,*.so,*.zip,*/assembly/*,*/target/streams/*,*/target/resolution-cache/*,*/target/config-classes/*,*.jar,*/venv/*
Bundle 'ervandew/supertab'
Bundle 'derekwyatt/vim-scala'
Bundle 'chase/vim-ansible-yaml'
Plugin 'fatih/vim-go'
Plugin 'ekalinin/Dockerfile.vim'
" let Vundle manage Vundle, required
Plugin 'gmarik/Vundle.vim'
" If the colors are not working, symlink them back to be under .vimrc
" ln -s $HOME/.vim/bundle/vim-colorschemes/colors/ $HOME/.vim/colors
Plugin 'flazz/vim-colorschemes'
Plugin 'kien/ctrlp.vim'
Plugin 'kchmck/vim-coffee-script'
" The following are examples of different formats supported.
" Keep Plugin commands between vundle#begin/end.
" plugin on GitHub repo
Plugin 'tpope/vim-fugitive'
" plugin from http://vim-scripts.org/vim/scripts.html
Plugin 'L9'
" Git plugin not hosted on GitHub
Plugin 'git://git.wincent.com/command-t.git'
" git repos on your local machine (i.e. when working on your own plugin)
" Plugin 'file:///home/dalek57/.vim/blah'
" The sparkup vim script is in a subdirectory of this repo called vim.
" Pass the path to set the runtimepath properly.
Plugin 'rstacruz/sparkup', {'rtp': 'vim/'}
Plugin 'myusuf3/numbers.vim'
let g:numbers_exclude = ['tagbar', 'gundo', 'minibufexpl', 'nerdtree']
Plugin 'scrooloose/nerdtree'
map <C-n> :NERDTreeToggle<CR>
Plugin 'jiangmiao/auto-pairs'
"----------UltiSnips------------
"Track the engine.
" Plugin 'SirVer/ultisnips'
" Snippets are separated from the engine. Add this if you want them:
Plugin 'honza/vim-snippets'
Plugin 'spiroid/vim-ultisnip-scala'
" Trigger configuration. Do not use <tab> if you use
" https://github.com/Valloric/YouCompleteMe.
let g:UltiSnipsExpandTrigger="<tab>"
let g:UltiSnipsJumpForwardTrigger="<tab>"
let g:UltiSnipsJumpBackwardTrigger="<s-tab>"
let g:UltiSnipsListSnippets='<s-tab>'
" If you want :UltiSnipsEdit to split your window.
let g:UltiSnipsEditSplit="vertical"
" All of your Plugins must be added before the following line
call vundle#end() " required
filetype plugin indent on " required
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment