Skip to content

Latest commit

 

History

History
52 lines (36 loc) · 1.29 KB

README.md

File metadata and controls

52 lines (36 loc) · 1.29 KB

Quantum ESPRESSO syntax for Vim

Installation

Manual

For Vim 8.0+

Vim 8.0+ recognizes plugins under $HOME/.vim (c.f. runtimepath).

% git clone https://github.com/leseixas/quantum_espresso-vim.git $HOME/.vim

Old 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: