This is a noob question. I just installed UltiSnip to make use of the TeX snippets. Here is the relevant part of my
" Specify a directory for plugins (powered by vim-plug) call plug#begin('~/.vim/plugged') " Make sure you use single quotes Plug 'lambdalisue/suda.vim' Plug 'powerman/vim-plugin-ruscmd' Plug 'tpope/vim-fugitive' Plug 'lervag/vimtex' Plug 'SirVer/ultisnips' Plug 'honza/vim-snippets' Plug 'dart-lang/dart-vim-plugin' Plug 'natebosch/vim-lsc' " Initialize plugin system call plug#end() " UltiSnips group " Trigger configuration. Do not use <tab> if you use https://github.com/Valloric/YouCompleteMe. let g:UltiSnipsExpandTrigger="<tab>" let g:UltiSnipsJumpForwardTrigger="<c-b>" let g:UltiSnipsJumpBackwardTrigger="<c-z>"
The edited file extension is
tex. I presume that it's enough to write
table in edit mode and push . It's just a tab entered. My research shows that 'not working' is a quite common problem, but no reasonable way of troubleshooting is suggested, just obscure bits and loose ends. I tried
let g:UltiSnipsSnippetDirectories=["UltiSnips"] and
let g:UltiSnipsSnippetDirectories=[$HOME.'/.vim/plugged/vim-snippets/UltiSnips'], to no avail.
:UltiSnipsAddFiletypes manually, the same. The docs are big on features, but way too concise on getting started.
.vim directory is shared via symlink, no trouble so far:
$ ln -s /home/user/.vim /home/user/.local/share/nvim/site
Oh, sorry. It turned out that with
and after manual intervention
it starts breathing. What am I still missing?