VimWiki is greedy for filetypes, as a consequence it grabs both wiki and
markdown extension and name change file filetype to "wiki". For the wiki
files it's not an issue for me, but grabbing markdown files is too much.
With this commit those two filetypes are separated by setting empty dict
for `g:vimwiki_ext2syntax`.
Other than that, added fzf-aided selector for wiki files and added ruff
as the linter for python files.
There are some of the plugins, which I never use in my workflow, so that
I've removing them. Other than that, narrow down filetype specific
plugins to the right file types.
Also removed js specific plugins, and rely only on those provided by
vim.
Additionally for the vim config, there should be also appropriate ctags
configuration done in ~/.config/ctags/vimwiki.ctags:
--langdef=vimwiki
--langmap=vimwiki:.wiki
--regex-vimwiki=/^=[ \t]+(.+)[ \t]+=$/\1/h,header/
--regex-vimwiki=/^==[ \t]+(.+)[ \t]+==$/. \1/h,header/
--regex-vimwiki=/^===[ \t]+(.+)[ \t]+===$/. \1/h,header/
--regex-vimwiki=/^====[ \t]+(.+)[ \t]+====$/. \1/h,header/
--regex-vimwiki=/^=====[ \t]+(.+)[ \t]+=====$/. \1/h,header/
--regex-vimwiki=/^======[ \t]+(.+)[ \t]+======$/. \1/h,header/
There were changes for plugin location on github.
scrooloose stops support syntastic, nerdtree and nerdcommenter, they go
under new github organizations:
vim-syntastic for sytntastic plugin
preservim for nerdtree, nerdcommenter and tagbar
I'm not very heavy user of snippets. UltiSnips lately dropped support
for python2, yet I'm using some machines with old OSes, which complain a
lot during boostrapping my vimrc, so I was started to look for a simpler
replacement. Finally decided on a (slightly modified) original snipmate.
If we bootstrap from empty repo, vim will complain about missing
colorscheme, since we don't have it yet. Added silent before the
colorscheme command, so that we can do non-disruptive config update.