11 lines
430 B
EmacsLisp
11 lines
430 B
EmacsLisp
; Outline-minor-mode key map
|
|
(define-prefix-command 'cm-map nil "Outline-")
|
|
; HIDE
|
|
(define-key cm-map "t" 'hide-body) ; Hide everything but headings (all body lines)
|
|
(define-key cm-map "c" 'hide-entry) ; Hide this entry's body
|
|
; SHOW
|
|
(define-key cm-map "a" 'show-all) ; Show (expand) everything
|
|
(define-key cm-map "e" 'show-entry) ; Show this heading's body
|
|
|
|
(global-set-key "\M-o" cm-map)
|