" Plugins will be downloaded under the specified directory. call plug#begin('~/.local/share/nvim/plugged') " Declare the list of plugins. Plug 'morhetz/gruvbox' " Plug 'Badacadabra/vim-archery' Plug 'Yggdroot/indentLine' if has('nvim') Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' } else Plug 'Shougo/deoplete.nvim' Plug 'roxma/nvim-yarp' Plug 'roxma/vim-hug-neovim-rpc' endif let g:deoplete#enable_at_startup = 1 Plug 'zchee/deoplete-jedi' " List ends here. Plugins become visible to Vim after this call. call plug#end() " Use deoplete. let g:deoplete#enable_at_startup = 1 syntax on set guifont=Monospace\ Bold\ 12 colors gruvbox set background=dark set inccommand=nosplit " Uncomment the following to have Vim jump to the last position when " reopening a file if has("autocmd") au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif endif " Uncomment the following to have Vim load indentation rules and plugins " according to the detected filetype. if has("autocmd") filetype plugin indent on endif set showmatch " Show matching brackets. set number " Show the line numbers on the left side. set formatoptions+=o " Continue comment marker in new lines. set expandtab " Insert spaces when TAB is pressed. set tabstop=2 " Render TABs using this many spaces. set shiftwidth=2 " Indentation amount for < and > commands. set nojoinspaces " Prevents inserting two spaces after punctuation on a join (J) " More natural splits set splitbelow " Horizontal split below current set splitright " Vertical split to right of current. if !&scrolloff set scrolloff=3 " Show next 3 lines while scrolling. endif if !&sidescrolloff set sidescrolloff=5 " Show next 5 columns while side-scrolling. endif set nostartofline " Do not jump to first character with page commands. " Tell Vim which characters to show for expanded TABs, " trailing whitespace, and end-of-lines. VERY useful! if &listchars ==# 'eol:$' set listchars=tab:>\ ,trail:-,extends:>,precedes:<,nbsp:+ endif set list " Show problematic characters. " Also highlight all tabs and trailing whitespace characters. highlight ExtraWhitespace ctermbg=darkgreen guibg=darkgreen match ExtraWhitespace /\s\+$\|\t/