lammps/tools/vim2cab8a49e64bmaster
lammps/tools/vim
2cab8a49e64bmaster
README.txt
README.txt
=== Vim Syntax Highlighting ===
===============================
The files provided in this directory will enable syntax highlighting
for the lammps script syntax in vim. The simulation scripts have to
end on .lmp (see mysyntax.vim). By far not all commands are included
in the syntax file (lammps.vim). You can easily add new ones.
=To enable the highlighting:
============================
(0) Create a ~/.vimrc
You can have a look in /usr/local/share/vim/current/vimrc.example
(1) Insert in ~/.vimrc
let mysyntaxfile = "~/.vim/mysyntax.vim"
just before
syntax on
(2) Create directory ~/.vim and place mysyntax.vim and lammps.vim there
Gerolf Ziegenhain <gerolf@ziegenhain.com> 2007
===============================
The files provided in this directory will enable syntax highlighting
for the lammps script syntax in vim. The simulation scripts have to
end on .lmp (see mysyntax.vim). By far not all commands are included
in the syntax file (lammps.vim). You can easily add new ones.
=To enable the highlighting:
============================
(0) Create a ~/.vimrc
You can have a look in /usr/local/share/vim/current/vimrc.example
(1) Insert in ~/.vimrc
let mysyntaxfile = "~/.vim/mysyntax.vim"
just before
syntax on
(2) Create directory ~/.vim and place mysyntax.vim and lammps.vim there
Gerolf Ziegenhain <gerolf@ziegenhain.com> 2007
c4science · Help