Next: , Up: Custom Indexing Command   [Index]


4.3.3.1 insert-cindex

(defun insert-cindex ()
  "Insert #+cindex: in an Orgmode document."
  (interactive)
  (insert-char #x0a)
  (indent-according-to-mode)
  (insert "#+cindex:"))
(global-set-key (kbd "C-c I") 'insert-cindex)