Vim 8.0+ recognizes plugins under $HOME/.vim
(c.f. runtimepath
).
% git clone https://github.com/leseixas/quantum_espresso-vim.git $HOME/.vim
Vim recognizes plugins for syntax highlighting under $HOME/.vim/syntax
and $HOME/.vim/ftdetect
.
% git clone https://github.com/leseixas/quantum_espresso-vim.git
% mkdir -p $HOME/.vim/ftdetect $HOME/.vim/syntax
% cp -ra quantum_espresso-vim/ftdetect $HOME/.vim/ftdetect
% cp -ra quantum_espresso-vim/syntax $HOME/.vim/syntax
The commands are written in install.sh
script.
% cd $HOME/.vim/janus/vim/langs
% git clone https://github.com/leseixas/quantum_espresso-vim.git
" ~/.vimrc
packadd vim-jetpack
call jetpack#begin()
Jetpack 'tani/vim-jetpack', {'opt': 1} "bootstrap
Jetpack 'vim-jp/syntax-vim-ex'
Jetpack 'leseixas/quantum_espresso-vim', {'for': 'espresso'}
Jetpack 'KensukeKurita/wannier90vim', {'for': 'wannier'}
call jetpack#end()
References: