Skip to content

Instantly share code, notes, and snippets.

@m4r00p
Created December 30, 2015 20:24
Show Gist options
  • Save m4r00p/fccee421f1013464f7a3 to your computer and use it in GitHub Desktop.
Save m4r00p/fccee421f1013464f7a3 to your computer and use it in GitHub Desktop.
.vimrc
"NeoBundle Scripts-----------------------------
if has('vim_starting')
if &compatible
set nocompatible " Be iMproved
endif
" Required:
set runtimepath+=/Users/marekpawlowski/.vim/bundle/neobundle.vim/
endif
" Required:
call neobundle#begin(expand('/Users/marekpawlowski/.vim/bundle'))
" Let NeoBundle manage NeoBundle
" Required:
NeoBundleFetch 'Shougo/neobundle.vim'
" Add or remove your Bundles here:
NeoBundle 'Shougo/neosnippet.vim'
NeoBundle 'Shougo/neosnippet-snippets'
NeoBundle 'tpope/vim-fugitive'
NeoBundle 'ctrlpvim/ctrlp.vim'
NeoBundle 'flazz/vim-colorschemes'
NeoBundle 'tomtom/tcomment_vim'
NeoBundle 'bling/vim-airline'
NeoBundle 'Raimondi/delimitMate'
NeoBundle 'mileszs/ack.vim'
NeoBundle 'airblade/vim-gitgutter'
NeoBundle 'tpope/vim-surround'
NeoBundle 'scrooloose/syntastic'
NeoBundle 'mattn/emmet-vim'
NeoBundle 'honza/vim-snippets'
NeoBundle 'xolox/vim-misc'
NeoBundle 'xolox/vim-colorscheme-switcher'
NeoBundle 'pangloss/vim-javascript'
NeoBundle 'Valloric/YouCompleteMe'
NeoBundle 'marijnh/tern_for_vim'
NeoBundle 'nathanaelkane/vim-indent-guides'
NeoBundle 'Lokaltog/vim-easymotion'
NeoBundle 'OpenURL'
NeoBundle 'OrangeT/vim-csharp'
NeoBundle 'groenewege/vim-less'
NeoBundle 'matchit.zip'
NeoBundle 'majutsushi/tagbar'
NeoBundle 'xolox/vim-easytags'
NeoBundle 'ramitos/jsctags'
NeoBundle 'othree/html5.vim'
NeoBundle 'gregsexton/MatchTag'
NeoBundle 'mustache/vim-mustache-handlebars'
" You can specify revision/branch/tag.
NeoBundle 'Shougo/vimshell', { 'rev' : '3787e5' }
" Required:
call neobundle#end()
" Required:
filetype plugin indent on
" If there are uninstalled bundles found on startup,
" this will conveniently prompt you to install them.
NeoBundleCheck
"End NeoBundle Scripts-------------------------
" General
set guifont=Inconsolata:h14
" colorscheme Tomorrow-Night
colorscheme hybrid
set cursorline
set expandtab
set modelines=0
set shiftwidth=2
set clipboard=unnamed
set ttyscroll=10
set encoding=utf-8
set tabstop=2
set nowrap
set number
set expandtab
set nowritebackup
set noswapfile
set nobackup
set hlsearch
set ignorecase
filetype plugin on
set laststatus=2
set regexpengine=1
syntax enable
set transparency=5
" YouAutocompleteMe config
set completeopt=menuone
" CtrlP config
let g:ctrlp_map = '<D-/>'
let g:ctrlp_cmd = 'CtrlPMixed'
let g:ctrlp_working_path_mode = 'a'
highlight LineNr ctermbg=white ctermfg=black
highlight OverLength ctermbg=black guibg=#592929
match OverLength /\%81v.\+/
let g:indent_guides_auto_colors = 1
autocmd VimEnter,Colorscheme * :hi IndentGuidesOdd guibg=red ctermbg=3
autocmd VimEnter,Colorscheme * :hi IndentGuidesEven guibg=green ctermbg=4
nmap <F8> :TagbarToggle<CR>
noremap <Leader>a :Ack <cword><cr>
au BufReadPost *.ejs set syntax=html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment