Skip to content

timwaterhouse/vim-nonmem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

vim-nonmem

Vim syntax and indent settings for NONMEM.

Installation

Use your favourite plugin manager. E.g., with vim-plug place this in your .vimrc:

Plug 'timwaterhouse/vim-nonmem'

… then run the following in Vim:

:source %
:PlugInstall

Filetype

I've purposely avoided adding any kind of filetype detection, due to the myriad conventions for naming NONMEM files. So you'll probably want to add something like the following in $HOME/.vim/filetype.vim (or elsewhere, see :help new-filetype) to appropriately set the filetype to nonmem:

if exists("did_load_filetypes")
  finish
endif
augroup filetypedetect
  au! BufNewFile,BufRead *.mod,*.lst setfiletype nonmem
augroup END

About

Vim syntax and indent settings for NONMEM

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages