OmniMark Code - 2012-05-31

omnimark-mode is an Emacs/XEmacs major mode for programming in OmniMark. It supports syntax highlighting, and uses heuristics to help with indentation. The mode can be extensively customized through the customize facilities of Emacs/XEmacs. Additionally, programs can be navigated according to their structure: by rule, by block, and so on.

To use omnimark-mode, add the following to your Emacs/XEmacs initialization file

(load "omnimark-mode.el")
(setq auto-mode-alist 
      (append '(("\\.\\(x\\(in\\|md\\|om\\|lr\\)$\\)" 
                 . omnimark-mode))))

The following key bindings are defined by default

Key Binding Command
M-C-a omnimark-move-previous-program-level
M-C-b omnimark-move-block-start
M-C-e omnimark-move-next-program-level
M-C-f omnimark-move-block-end
C-c + omnimark-eval-buffer
C-c = omnimark-eval-region
C-c return omnimark-mark-program-level
C-c C-c comment-region
C-c C-m omnimark-mark-program-level
C-c C-q indent-region
 

Last edit: OmniMark Code 2012-05-31