Added new instructions and new commands

git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@5353 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
athomps 2010-12-01 22:18:08 +00:00
parent b2f72fbddd
commit fdc735ee11
2 changed files with 4 additions and 5 deletions

View File

@ -3,7 +3,8 @@
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
end on *.lmp or start with in.* (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:
@ -31,11 +32,8 @@ if exists("did_load_filetypes")
endif
augroup filetypedetect
au! BufRead,BufNewFile *.pdb setfiletype none
au! BufRead,BufNewFile *.psf setfiletype none
au! BufRead,BufNewFile *.cu setfiletype c
au! BufRead,BufNewFile in.* setfiletype lammps
au! BufRead,BufNewFile *.lmp setfiletype lammps
augroup END
(4) the end

View File

@ -1,3 +1,4 @@
augroup syntax
au BufNewFile,BufReadPost *.lmp so ~/.vim/lammps.vim
au BufNewFile,BufReadPost in.* so ~/.vim/lammps.vim
augroup END