I'm not sure if this will help you, but I've put together a bunch of resources for how to reporduce the configuration that I've put together for writing LaTeX and Markdown documents in NeoVim. To give you a sense of the plugins which I have configured, see below:
" TEXT SUPPORT
" LaTeX Support
Plug 'lervag/vimtex'
Plug 'dense-analysis/ale' " LaTeX Linting
" Markdown
Plug 'gabrielelana/vim-markdown'
Plug 'iamcco/markdown-preview.nvim', { 'do': { -> mkdp#util#install() }, 'for': ['markdown', 'vim-plug']}
" FILE MANAGEMENT
" Startup Screen
Plug 'mhinz/vim-startify'
" File Explorer
Plug 'ryanoasis/vim-devicons' "adds icons to coc-explorer
" Fuzzy Finder
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
Plug 'junegunn/fzf.vim'
" Git Integration
Plug 'mhinz/vim-signify'
Plug 'airblade/vim-gitgutter'
" AUTOCOMPLETE
" Intellisense
Plug 'neoclide/coc.nvim', {'branch': 'release'}
Plug 'Shougo/deoplete.nvim', {'do': ':UpdateRemotePlugins' }
" Snippets
Plug 'SirVer/ultisnips'
" Auto pairs and surround for '(' '[' '{' etc.
Plug 'jiangmiao/auto-pairs'
Plug 'tpope/vim-surround'
Plug 'machakann/vim-sandwich'
Plug 'tpope/vim-repeat'
" ADDITIONAL FUNCTIONS
" Comments
Plug 'tpope/vim-commentary'
" Quick Movements in Text
Plug 'unblevable/quick-scope'
Plug 'easymotion/vim-easymotion'
" Terminal
Plug 'voldikss/vim-floaterm'
" Undo tree
Plug 'mbbill/undotree'
" Multiple Cursors
Plug 'mg979/vim-visual-multi', {'branch': 'master'}
" Browser Support
Plug 'glacambre/firenvim', { 'do': { _ -> firenvim#install(0) } }
" MAPPINGS
" Look Up Key Bindings
Plug 'liuchengxu/vim-which-key'
" APPEARANCE
" Themes
Plug 'morhetz/gruvbox' " Source grubox theme
" Satus Line
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
I've created a Cheat Sheet which includes all of the key-bindings which I find useful for writing LaTeX documents with NeoVim.
You can find installation instructions on my GitHub repo, along with a number of video series on YouTube which demonstrate the resulting functionality of the configuration, as well as providing an installation guide, a configuration guide for adapting my configuration to your needs, and instructions for using Git to collaborate with others. My aim is to provide an out of the box experience with a complete feature set for academic writing, though admitadly installing Vim is a big of a process even with the guided tour I've tried to create. I hope that this is of some use to you!
:helptags ALL
thoughsudo
then you're running it as a different user (root), so the configuration for your local user won't apply. Usesudoedit
instead, or copy the configuration to/root
.