summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2018-11-11 13:53:06 -0500
committerAmin Bandali <bandali@gnu.org>2018-11-11 13:53:06 -0500
commitca2bcf5f48a3354d18a69b8892377b2ee2c445d7 (patch)
treeb8c61ffdfde9e6560d32cb59ca3789d6f6ed7c1e
parentf97a01bda8181c0871428ca3bbfbe0381d779224 (diff)
downloadconfigs-ca2bcf5f48a3354d18a69b8892377b2ee2c445d7.tar.gz
configs-ca2bcf5f48a3354d18a69b8892377b2ee2c445d7.tar.xz
configs-ca2bcf5f48a3354d18a69b8892377b2ee2c445d7.zip
[emacs] convenient footnotes in message-mode (using footnote-mode)
Diffstat (limited to '')
-rw-r--r--init.org27
1 files changed, 25 insertions, 2 deletions
diff --git a/init.org b/init.org
index 60708bb..99e9631 100644
--- a/init.org
+++ b/init.org
@@ -867,7 +867,6 @@ There's no way I could top that, so I won't attempt to.
("s-r" . counsel-recentf)
("C-c x" . counsel-M-x)
("C-c f ." . counsel-find-file)
- ("C-c f r" . counsel-recentf)
:map minibuffer-local-map
("C-r" . counsel-minibuffer-history))
:config
@@ -1521,7 +1520,7 @@ Emacs package that displays available keybindings in popup
:bind (("C-c d" . crux-duplicate-current-line-or-region)
("C-c M-d" . crux-duplicate-and-comment-current-line-or-region)
("C-c b K" . crux-kill-other-buffers)
- ("C-c f c" . crux-copy-file-preserve-attributes)
+ ("C-c f C" . crux-copy-file-preserve-attributes)
("C-c f D" . crux-delete-file-and-buffer)
("C-c f R" . crux-rename-file-and-buffer)
("C-S-j" . crux-top-join-line)
@@ -1909,6 +1908,30 @@ Hopefully temporary.
mml-secure-openpgp-sign-with-sender t))
#+end_src
+** footnote
+
+Convenient footnotes in =message-mode=.
+
+#+begin_src emacs-lisp
+(use-package footnote
+ :after message
+ :bind
+ (:map message-mode-map
+ :prefix-map amin--footnote-prefix-map
+ :prefix "C-c f"
+ ("a" . footnote-add-footnote)
+ ("b" . footnote-back-to-message)
+ ("c" . footnote-cycle-style)
+ ("d" . footnote-delete-footnote)
+ ("g" . footnote-goto-footnote)
+ ("r" . footnote-renumber-footnotes)
+ ("s" . footnote-set-style))
+ :config
+ (setq footnote-start-tag ""
+ footnote-end-tag ""
+ footnote-style 'unicode))
+#+end_src
+
** supercite
#+begin_src emacs-lisp :tangle no