In org-mode, typing M-RETat the end of the heading, you will create a new heading of the same level in a new line. Can I repeat this function in rst-mode(especially for lists)? M-RETNot currently defined, and it would be great if I could just click M-RETand rst-modeintelligently add a different list title. For instance,
org-mode
M-RET
rst-mode
- Item1 <M-RET>
is having
- Item1 -
automatically.
, rst.el, Emacs, , . rst.el Subversion load-path. rst-mode rst-insert-list:
rst.el
load-path
rst-insert-list
(eval-after-load "rst" '(progn (define-key rst-mode-map (kbd "<M-RET>") (lambda () (interactive) (rst-insert-list)))))
M-RET .
Stefan Merten .
Emacs reStructuredText .