From 8b7598f5a092a58debf2c9a40063b7ba0076f39d Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Wed, 25 Mar 2020 01:46:14 -0400 Subject: [PATCH] Add grip-mode binding --- .emacs.d/init.el | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 9cf73a1..5e9bb27 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -613,13 +613,15 @@ :mode ("\\.gp$" . gnuplot-mode)) (use-package markdown-mode - :config - (setq markdown-command "markdown_py -x markdown.extensions.wikilinks -x markdown.extensions.smarty -x markdown.extensions.extra -x latex -x markdown.extensions.sane_lists -x markdown.extensions.toc -x markdown_checklist.extension -c ~/.emacs.d/markdownConfig.yml" - markdown-enable-math t) :bind (:map markdown-mode-map ("" . markdown-demote) ("S-" . markdown-promote)) - :mode "\\.md\\'") + :mode "\\.md\\'" + :config + (setq markdown-command "markdown_py -x markdown.extensions.wikilinks -x markdown.extensions.smarty -x markdown.extensions.extra -x latex -x markdown.extensions.sane_lists -x markdown.extensions.toc -x markdown_checklist.extension -c ~/.emacs.d/markdownConfig.yml" + markdown-enable-math t) + (use-package grip-mode + :bind (:map markdown-mode-command-map ("g" . grip-mode)))) (use-package projectile :bind (:map projectile-mode-map (("C-S-z" . projectile-compile-project)