Skip to content

Instantly share code, notes, and snippets.

@mayela
Last active December 14, 2017 00:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mayela/855786e3abe8fc6a2c88b5e97763aa93 to your computer and use it in GitHub Desktop.
Save mayela/855786e3abe8fc6a2c88b5e97763aa93 to your computer and use it in GitHub Desktop.
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'
Plugin 'Townk/vim-autoclose'
Plugin 'junegunn/vim-easy-align'
Plugin 'ctrlpvim/ctrlp.vim.git'
Plugin 'itchyny/lightline.vim'
Plugin 'scrooloose/nerdtree'
Plugin 'Xuyuanp/nerdtree-git-plugin'
Plugin 'christoomey/vim-tmux-navigator'
Plugin 'mattn/emmet-vim'
Plugin 'SirVer/ultisnips'
Plugin 'honza/vim-snippets'
Plugin 'wakatime/vim-wakatime'
Plugin 'Valloric/YouCompleteMe'
Plugin 'othree/html5.vim'
Plugin 'yggdroot/indentline'
Plugin 'nathanaelkane/vim-indent-guides'
" All of your Plugins must be added before the following line
call vundle#end() " required
"EasyAlign config
xmap ga <Plug>(EasyAlign)
nmap ga <Plug>(EasyAlign)
" lightline config
let g:lightline = {
\ 'colorscheme': 'wombat',
\ }
set laststatus=2
if !has('gui_running')
set t_Co=256
endif
let g:lightline = {
\ 'colorscheme': 'wombat',
\ 'active': {
\ 'left': [ [ 'mode', 'paste' ],
\ [ 'gitbranch', 'readonly', 'filename', 'modified' ] ]
\ },
\ 'component_function': {
\ 'gitbranch': 'fugitive#head'
\ },
\ }
set noshowmode
" fin config
"
" NerdTree conf
map <C-n> :NERDTreeToggle<CR>
"
"NerdTree git plguin config
let g:NERDTreeIndicatorMapCustom = {
\ "Modified" : "✹",
\ "Staged" : "✚",
\ "Untracked" : "✭",
\ "Renamed" : "➜",
\ "Unmerged" : "═",
\ "Deleted" : "✖",
\ "Dirty" : "✗",
\ "Clean" : "✔︎",
\ "Unknown" : "?"
\ }
syntax on
set tabstop=2
set shiftwidth=2
set expandtab
filetype plugin on
filetype plugin indent on
let g:ycm_python_binary_path = 'python'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment