This commit is contained in:
bauer
2017-12-06 22:52:59 +01:00
parent 874c0e6a17
commit 938bdf3958
16 changed files with 51 additions and 0 deletions

4
.vim/.netrwhist Normal file
View File

@@ -0,0 +1,4 @@
let g:netrw_dirhistmax =10
let g:netrw_dirhist_cnt =2
let g:netrw_dirhist_1='/etc/cups/ppd'
let g:netrw_dirhist_2='/home/bauer/.config/polybar'

Submodule .vim/bundle/Vundle.vim added at 6437ad6df4

1
.vim/bundle/ctrlp.vim Submodule

Submodule .vim/bundle/ctrlp.vim added at 564176f01d

Submodule .vim/bundle/indentline added at 439348543c

1
.vim/bundle/jedi-vim Submodule

Submodule .vim/bundle/jedi-vim added at 77924398bd

Submodule .vim/bundle/nerdcommenter added at fdc611c8f4

1
.vim/bundle/tabular Submodule

Submodule .vim/bundle/tabular added at 00e1e7fcdb

Submodule .vim/bundle/vim-airline added at 396cc92261

Submodule .vim/bundle/vim-gromacs added at 4602a34c6e

Submodule .vim/bundle/vim-indent-guides added at b40687195c

Submodule .vim/bundle/vim-markdown added at 3fcde7215e

1
.vim/bundle/vimtex Submodule

Submodule .vim/bundle/vimtex added at aa13bdbb02

1
.vim/ftdetect/pdb.vim Normal file
View File

@@ -0,0 +1 @@
autocmd BufRead,BufNewFile *.pdb set filetype=pdb

BIN
.vim/syntax/.pdb.vim.swo Normal file

Binary file not shown.

BIN
.vim/syntax/.pdb.vim.swp Normal file

Binary file not shown.

35
.vim/syntax/pdb.vim Normal file
View File

@@ -0,0 +1,35 @@
if exists("b:current_syntax")
finish
endif
syn match pdbComment "TITLE.*"
syn match pdbComment "REMARK.*"
syn match pdbCryst "CRYST1.*"
syn keyword pdbKeyAtom ATOM nextgroup=pdbAtomId
syn keyword pdbTer TER
syn match pdbAtomId "\s*\d\{1,5}" nextgroup=pdbAtomName contained
syn match pdbAtomName "\s*.\{1,4}" nextgroup=pdbResName contained
syn match pdbResName "\s*.\{1,3}" nextgroup=pdbChainId contained
syn match pdbChainId "\s*[a-zA-Z]\{0,1}" nextgroup=pdbResId contained
syn match pdbResId "\s*\d\{1,4}" nextgroup=pdbCoords contained
syn match pdbCoords "\s*\([0-9-]\|\s\|\.\)\{1,24}" nextgroup=pdbBFac contained
syn match pdbBFac "\s*\([0-9-]\|\.\)\{1,6}" nextgroup=pdbTemp contained
syn match pdbTemp "\s*\([0-9-]\|\.\)\{1,6}" nextgroup=pdbElement contained
syn match pdbElement "\s*.\{1,4}" contained
"hi def link pdbComment Comment
hi def link pdbCryst Constant
hi def link pdbTer Keyword
" hi def link pdbKeyAtom Comment
hi def link pdbAtomId Constant
hi def link pdbAtomName Special
hi def link pdbResName Special
hi def link pdbChainId Keyword
hi def link pdbResId Constant
hi def link pdbCoords Type
hi def link pdbBFac Type
hi def link pdbTemp Type
hi def link pdbElement Constant