Skip to content

KatsuhiroArimoto/quantum_espresso-vim

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

About

Quantum ESPRESSO syntax for Vim

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vim Script 79.2%
  • Python 19.9%
  • Shell 0.9%