set encoding=utf-8
scriptencoding utf-8
call plug#begin()
Plug 'scrooloose/nerdtree'
Plug 'ctrlpvim/ctrlp.vim'
Plug 'itchyny/lightline.vim'
Plug 'tpope/vim-vividchalk'
Plug 'drowsysaturn/vivid.vim'
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
Plug 'hynek/vim-python-pep8-indent'
Plug 'mhinz/vim-startify'
call plug#end()
set guifont=Hack
set clipboard=unnamedplus
set noshowmode
set colorcolumn=120
set wildignore+=*/tmp/*,*.so,*.swp,*.zip,*.pyc,*.pyo,*/build/*,*egg-info*
set tw=0
colorscheme vividchalk
syntax on
let g:lightline = {
\ 'colorscheme': 'jellybeans',
\ 'component': {
\ 'filename': '%f',
\ 'readonly': '%{&filetype=="help"?"":&readonly?"":""}',
\ 'modified': '%{&filetype=="help"?"":&modified?"*":&modifiable?"":"-"}'
\ },
\ 'component_visible_condition': {
\ 'readonly': '(&filetype!="help"&& &readonly)',
\ 'modified': '(&filetype!="help"&&(&modified||!&modifiable))'
\ },
\ 'separator': { 'left': '', 'right': '' },
\ 'subseparator': { 'left': '', 'right': '' }
\ }
let g:ctrlp_cmd = 'CtrlPMixed'
let g:ctrlp_custom_ignore = '\v[\/]\.(git|hg|svn|bzr)$,build'
let g:startify_change_to_vcs_root = 1
let g:startify_change_to_dir = 0
let g:startify_bookmarks = [ {'v': '~/.config/nvim/init.vim'}, {'z': '~/.zshrc'}, {'t': '~/.tmux.conf'} ]
let g:startify_list_order = [
\ [' Recent Project Files'],
\ 'dir',
\ [' Recent Files'],
\ 'files',
\ [' Bookmarks'],
\ 'bookmarks',
\ [' Other'],
\ ]
let mapleader = ","
map <Leader><space> :noh<return>