Skip to content

Instantly share code, notes, and snippets.

@umurgdk
Created September 13, 2015 02:23
Show Gist options
  • Save umurgdk/7b29c5a2902232a0b8bd to your computer and use it in GitHub Desktop.
Save umurgdk/7b29c5a2902232a0b8bd to your computer and use it in GitHub Desktop.
" source ~/.vim/dwiw-loader.vim
set nocompatible
filetype off
"set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
"Plugins
Plugin 'VundleVim/Vundle.vim'
Plugin 'MarcWeber/vim-addon-mw-utils'
Plugin 'tomtom/tlib_vim'
Plugin 'garbas/vim-snipmate'
Plugin 'honza/vim-snippets'
Plugin 'kien/ctrlp.vim'
Plugin 'tpope/vim-fugitive' "git plugin
Plugin 'powerline/powerline'
Plugin 'scrooloose/nerdtree' " File tree
Plugin 'scrooloose/nerdcommenter'
Plugin 'bling/vim-airline'
Plugin 'jiangmiao/auto-pairs'
Plugin 'w0ng/vim-hybrid' "Color scheme
Plugin 'Shougo/vimshell.vim' "Shell in vim
Plugin 'Shougo/vimproc.vim'
Plugin 'airblade/vim-gitgutter'
Plugin 'atelierbram/vim-colors_atelier-schemes' "Color schemes
Plugin 'powerman/vim-plugin-AnsiEsc'
Plugin 'majutsushi/tagbar'
Plugin 'rizzatti/dash.vim'
" Appearence
Plugin 'altercation/vim-colors-solarized'
Plugin 'jscappini/material.vim'
Plugin 'mhumeSF/one-dark.vim'
" Javascript plugins
Plugin 'jelera/vim-javascript-syntax'
Plugin 'Shutnik/jshint2.vim'
Plugin 'claco/jasmine.vim'
Plugin 'mattn/emmet-vim'
Plugin 'JavaScript-Indent'
Plugin 'elzr/vim-json'
Plugin 'marijnh/tern_for_vim'
Plugin 'mustache/vim-mustache-handlebars'
Plugin 'vim-ruby/vim-ruby'
"Plugin 'Valloric/YouCompleteMe'
Plugin 'scrooloose/syntastic' "Syntax checker
" Elixir plugins
Plugin 'elixir-lang/vim-elixir'
Plugin 'mattreduce/vim-mix'
Plugin 'BjRo/vim-extest'
Plugin 'frost/vim-eh-docs'
call vundle#end()
filetype on
filetype plugin indent on
"Vim Airline
let g:airline_powerline_fonts = 1
set laststatus=2
"Configure UI
set guioptions-=r
set guioptions-=L
set guifont=Monaco\ for\ Powerline:h14
set noguipty
set relativenumber
set number
set expandtab
set ts=4
set sw=4
setlocal foldmethod=syntax
syn on
" Dash integration
:nmap <silent> <leader>d <Plug>DashSearch
" Tagbar
nmap <F8> :TagbarToggle<CR>
" Appearence
"set background=dark
colorscheme onedark
"colorscheme base16-atelierdune
" Javscript
let jshint2_read = 1
let jshint2_save = 1
let g:tagbar_type_javascript = { 'ctagsbin' : '/Users/umur/.npm-packages/bin/jsctags' }
let g:tagbar_singleclick = 1
" Elixir
" -- test
map <leader>T :ExTestRunFile<CR>
map <leader>t :ExTestRunMethod<CR>
map <leader>lt :ExTestRunLast<CR>
" Syntastic
set statusline+=%#warningmsg#
set statusline+=%{SyntasticStatuslineFlag()}
set statusline+=%*
let g:syntastic_always_populate_loc_list = 1
let g:syntastic_auto_loc_list = 1
let g:syntastic_check_on_open = 1
let g:syntastic_check_on_wq = 0
let g:syntastic_elixir_checkers = ['elixir']
let g:syntastic_enable_elixir_checker = 1
let g:syntastic_mode_map = { 'passive_filetypes': ['cucumber', 'ruby'] }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment