core.keybinds module

Keybinding management.

core.keybinds.delete_keybinds(filename)[source]

Deletes a keybindings file.

Parameters

filename – the filename to delete.

core.keybinds.get_installed_file()[source]

Returns the name of the currently installed keybindings.

core.keybinds.keybind_exists(filename)[source]

Returns whether or not a keybindings file already exists.

Parameters

filename – the filename to check.

core.keybinds.load_keybinds(filename)[source]

Overwrites Dwarf Fortress keybindings from a file.

Params:
filename

The keybindings file to use.

core.keybinds.read_keybinds()[source]

Returns a list of keybinding files.

core.keybinds.save_keybinds(filename)[source]

Save current keybindings to a file.

Parameters

filename – the name of the new keybindings file.