Skip to content

This is Vim syntax for Wannier90, in which post process can be run after DFT.

Notifications You must be signed in to change notification settings

KatsuhiroArimoto/wannier90vim

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

This is Vim syntax for Wannier90, in which post process can be run after DFT.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vim Script 82.0%
  • Python 18.0%