alexmurray / apparmor-mode

Emacs major mode for editing AppArmor Policies
GNU General Public License v3.0
7 stars 3 forks source link

THIS REPO IS NOW ARCHIVED / FROZEN

All future development of apparmor-mode.el is now done under the upstream apparmor project repository at https://gitlab.com/apparmor/apparmor-mode

An Emacs major mode for AppArmor policies

License GPL 3 MELPA Build Status

Provides an enhanced editing environment for AppArmor policy files within Emacs, including:

apparmor-mode screenshot

Installation

MELPA

The preferred way to install apparmor-mode is via MELPA - then you can just M-x package-install RET apparmor-mode RET

To enable then simply add the following to your init file:

(require 'apparmor-mode)

Then when opening an AppArmor policy file enable via:

M-x apparmor-mode

To ensure this is done automatically, add the following to the top of the policy file:

# -*- mode:apparmor -*-

Manual

If you would like to install the package manually, download or clone it and place within Emacs' load-path, then you can require it in your init file like this:

(require 'apparmor-mode)

License

Copyright © 2018 Alex Murray

Distributed under GNU GPL, version 3.