diff options
-rw-r--r-- | NEWS.md | 3 | ||||
-rw-r--r-- | README.md | 12 | ||||
-rw-r--r-- | org-d20.el | 12 |
3 files changed, 15 insertions, 12 deletions
@@ -2,11 +2,14 @@ ---------------- - Bug fix: off-by-one error in call to `random` +- Change default keybindings to match Emacs conventions + - `org-d20-roll` shows the results on each dice rolled - New defcustom, `org-d20-letter-monsters` - New defcustom, `org-d20-continue-monster-numbering` - You can now specify a dice expression for the number of a type of monster/NPC + - Improve README for new users - Autoload some more functions users might want to bind - Refactoring/cleanup @@ -56,14 +56,14 @@ confirm that the value for org-d20-party that you've supplied is safe. The following bindings should then be available: -- <kbd><f9></kbd> -- start a combat, or advance the turn/round counter +- <kbd>C-c , i</kbd> -- start a combat, or advance the turn/round counter for an existing combat, depending on point -- <kbd>S-<f9></kbd> -- add new monsters to an existing combat -- <kbd><f10></kbd> -- apply damage to the monster at point -- <kbd>S-<f10></kbd> -- evaluate the dice expression (e.g. `4d10`) at +- <kbd>C-c , a</kbd> -- add new monsters to an existing combat +- <kbd>C-c , d</kbd> -- apply damage to the monster at point +- <kbd>C-c , r</kbd> -- prompt for dice expression and evaluate it +- <kbd><f10></kbd> -- evaluate the dice expression (e.g. `4d10`) at point -- <kbd><f11></kbd> -- prompt for dice expression and evaluate it -- <kbd>S-<f11></kbd> -- roll the last dice expression again +- <kbd><f11></kbd> -- roll the last dice expression again - <kbd><f12></kbd> -- roll d20, with advantage and disadvantage shown - <kbd>S-<f12></kbd> -- roll percentile dice @@ -79,12 +79,12 @@ Rather than starting again for each type." (defvar org-d20-mode-map (let ((map (make-sparse-keymap))) - (define-key map (kbd "<f9>") #'org-d20-initiative-dwim) - (define-key map (kbd "S-<f9>") #'org-d20-initiative-add) - (define-key map (kbd "<f10>") #'org-d20-damage) - (define-key map (kbd "S-<f10>") #'org-d20-roll-at-point) - (define-key map (kbd "<f11>") #'org-d20-roll) - (define-key map (kbd "S-<f11>") #'org-d20-roll-last) + (define-key map (kbd "C-c , i") #'org-d20-initiative-dwim) + (define-key map (kbd "C-c , a") #'org-d20-initiative-add) + (define-key map (kbd "C-c , d") #'org-d20-damage) + (define-key map (kbd "C-c , r") #'org-d20-roll) + (define-key map (kbd "<f10>") #'org-d20-roll-at-point) + (define-key map (kbd "<f11>") #'org-d20-roll-last) (define-key map (kbd "<f12>") #'org-d20-d20) (define-key map (kbd "S-<f12>") #'org-d20-d%) map) |