Skip to content

Latest commit

 

History

History
41 lines (26 loc) · 1.28 KB

README.md

File metadata and controls

41 lines (26 loc) · 1.28 KB

Vim syntax highlighting plugin for Wannier90

This is vim syntax plugin for Wannier90. If you write a Wannier90 input, this syntax will help you. sample

I made this with reference to quantum_espresso-vim. Please check the package when you see the source codes in this plugin.

Install

For Vim 8.0+

Vim 8.0+ recognizes plugins under $HOME/.vim/pack/**/start.

% git clone https://github.com/KensukeKurita/wannier90vim.git $HOME/.vim/pack/**/start

Old Vim

Vim recognizes plugins for syntax highlighting under $HOME/.vim/syntax and $HOME/.vim/ftdetect.

% git clone https://github.com/KensukeKurita/wannier90vim.git
% mkdir -p $HOME/.vim/syntax $HOME/.vim/ftdetect
% cp ./syntax/wannier.vim             $HOME/.vim/syntax/wannier.vim
% cp ./ftdetect/wannier-detect.vim    $HOME/.vim/ftdetect/wannier-detect.vim

About param2vim.py

The details about param2vim.py are omitted since you may not use this script.

To use param2vim.py, one should have:

  • quantum_espresso-vim plugin
  • Wannier90 userguide in Wannier90 homepage

One can createwannier.vim using param2vim.py alongwith these file, but wannier.vim includes only namelist of *.win file.