.
[lammps-vim.git] / README.txt
blob22c130acd5419efeaf1f2f72cb3f4f2400843950
1 === Vim Syntax Highlighting ===
2 ===============================
4 The files provided in this directory will enable syntax highlighting for the lammps
5 script syntax in vim. The simulation scripts have to end on .lmp (see mysyntax.vim).
6 By far not all commands are included in the syntax file (lammps.vim). You can easily
7 add new ones.
9 =To enable the highlighting:
10 ============================
11 (0)   Create a ~/.vimrc
12       You can have a look in /usr/local/share/vim/current/vimrc.example
13 (1)   Insert in ~/.vimrc
14          let mysyntaxfile = "~/.vim/mysyntax.vim"
15       just before
16          syntax on
17 (2)   Create directory ~/.vim and place mysyntax.vim and lammps.vim there
21 Gerolf Ziegenhain <gerolf@ziegenhain.com> 2007