commit 9a8dd2ed5c207b6e5f6d8111762c3bbdee3e21d0 Author: paoda Date: Thu Jun 18 00:58:10 2020 -0500 Add neovim config diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim new file mode 100644 index 0000000..6469110 --- /dev/null +++ b/.config/nvim/init.vim @@ -0,0 +1,64 @@ +" Shortcuts +map :NERDTreeToggle +map :TagbarToggle + +" Init Autocomplete +inoremap coc#refresh() + +" Navigate Completion List +inoremap pumvisible() ? "\" : "\" +inoremap pumvisible() ? "\" : "\" + +" Confirm Selection +inoremap pumvisible() ? "\" : "\u\" + + + + +" Plugged Plugins +call plug#begin(stdpath('data') . '/plugged') +" One Dark Theme +Plug 'joshdick/onedark.vim' + +" Tender Theme +Plug 'jacoborus/tender.vim' + +Plug 'sheerun/vim-polyglot' + +" Powerline Bar at bottom of screen +Plug 'itchyny/lightline.vim' + +" Scope Tags +Plug 'majutsushi/tagbar' + +" Syntax +Plug 'vim-syntastic/syntastic' + +" Rust Support +Plug 'rust-lang/rust.vim' + +" Languace Server Protocol Support +Plug 'neoclide/coc.nvim', {'branch': 'release'} + +" Multiple Cursors +Plug 'terryma/vim-multiple-cursors' + +" File Browser +Plug 'preservim/nerdtree' + +" NerdTree Icons (Should be last according to docs) +Plug 'ryanoasis/vim-devicons' +call plug#end() + +" Autosave with rust-fmt (Rust Only) +let g:rustfmt_autosave = 1 + + +" Install Tender for Lightline +let g:lightline = { 'colorscheme': 'onedark' } + +" Configuration +set noshowmode " Not Needed because we have Lightline +colorscheme onedark + +