Bind <backtab> to outshine-cycle-buffer on headings

For consistency with org-mode. M-TAB is retained as an alternative binding for
compatibility with terminal usage.
master
yuhan0 7 years ago
parent a2218aa5f8
commit d28f94d58c
  1. 4
      outshine.el

@ -2356,6 +2356,10 @@ marking subtree (and subsequently run the tex command)."
(or (outline-on-heading-p)
(and (bobp) outshine-org-style-global-cycling-at-bob-p)))
(outshine-define-key-with-fallback outshine-mode-map
(kbd "<backtab>") 'outshine-cycle-buffer
(or (outline-on-heading-p) (bobp)))
;; Works on the console too.
(define-key outshine-mode-map (kbd "M-TAB") 'outshine-cycle-buffer)

Loading…
Cancel
Save