user.apps.emacs.emacs.py

Modules

Actions

user.emacs_help(key: str = <class 'str'>)

Runs the emacs help command prefix, optionally followed by some keys.

user.emacs_key(keys: str)

        Presses some keys, translating 'meta-' prefix to the appropriate keys. For         example, if the setting user.emacs_meta = 'esc', user.emacs_key("meta-ctrl-a")         becomes key("esc ctrl-a").        

user.emacs_meta(key: str)

Presses some keys modified by Emacs' meta key.

user.emacs_meta_x()

Prompts user to enter a command name via execute-extended-command (M-x).

user.emacs_prefix(n: int)

Inputs a numeric prefix argument.

Settings

user.emacs_meta: str = 'esc'

What to use for the meta key in emacs. Defaults to 'esc', since that should work everywhere. Other options are 'alt' and 'cmd'.