set nocompatible              " be iMproved, required
noremap <Space> <Nop>
map <Space> <Leader>
let mapleader = "\<Space>"
let localleader = "\<Space>"

" set the runtime path to include plug.com and initialize
call plug#begin('~/.vim/plugged')

"" plug.vim management
Plug 'junegunn/vim-plug'

" Airline statusline
" Plug 'vim-airline/vim-airline'
" Plug 'vim-airline/vim-airline-themes'
Plug 'itchyny/lightline.vim'


"" Basic config for vim
Plug 'tpope/vim-sensible'

" Git integration
Plug 'tpope/vim-fugitive'

" Nerdtree
Plug 'scrooloose/nerdtree'
Plug 'Xuyuanp/nerdtree-git-plugin'
"Plug 'jistr/vim-nerdtree-tabs'

" Supertab (tab instead of ctrl-n or p
Plug 'ervandew/supertab'

" Special autocompletion
" Plug 'SirVer/ultisnips'
" Plug 'honza/vim-snippets'
"Plug 'ctrlpvim/ctrlp.vim'
"Plug 'Valloric/YouCompleteMe'

" Change surround
Plug 'tpope/vim-surround'

"" Plug vimtex
" Plug 'lervag/vimtex'

" Asynchronous Lint Engine
" Plug 'w0rp/ale'

" Completion for python
" Plug 'davidhalter/jedi-vim'

" Code formating for python
" Plug 'python/black'

" Vim note taking plugin
" Plug 'xolox/vim-misc'
" Plug 'xolox/vim-notes'

" vuejs syntax
" Plug 'posva/vim-vue'

" Clever substitute
Plug 'tpope/tpope-vim-abolish'

" Repeat
Plug 'tpope/vim-repeat'

" Git on lines
Plug 'airblade/vim-gitgutter'

" Emmet
" Plug 'mattn/emmet-vim'

" Polyglot synthax hightlight autodetect
Plug 'sheerun/vim-polyglot'

" Show indent lines
Plug 'Yggdroot/indentLine'

" fzf
" Plug 'junegunn/fzf.vim'

" Tmux integration
Plug 'christoomey/vim-tmux-navigator'

" Python folding
" Plug 'kalekundert/vim-coiled-snake'
" Plug 'Konfekt/FastFold'

" Touch typing
" Plug 'vim-scripts/TTCoach'

" Distraction free writing
Plug 'junegunn/goyo.vim'


""Plug 'edkolev/tmuxline.vim'
"Plug 'nvie/vim-flake8'
"Plug 'chriskempson/base16-vim'
"Plug 'chase/vim-ansible-yaml'
"Plug 'tmhedberg/SimpylFold'
"Plug 'vim-pandoc/vim-pandoc'
"Plug 'vim-pandoc/vim-pandoc-syntax'
"Plug 'Rykka/riv.vim'
"Plug 'aperezdc/vim-template'
"
"
"" Color scheme
"Plug 'vim-scripts/Wombat'
"Plug 'fugalh/desert.vim'
Plug 'jnurmine/Zenburn'
"Plug 'altercation/vim-colors-solarized'
"Plug 'blockloop/vim-codeschool'
"Plug 'ryanoasis/vim-devicons'

" All of your Plugs must be added before the following line
call plug#end()            " required
"

" import config from ./config
" runtime! config/**/*.vim 
"runtime! config/*.vim 
runtime! config/base.vim 
runtime! config/plugins.vim 
set conceallevel=0