summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaromil <jaromil@dyne.org>2013-12-31 10:06:31 (GMT)
committer Jaromil <jaromil@dyne.org>2013-12-31 10:06:31 (GMT)
commit009089ceba1f2b20f860ff8e271e36e4bac4364b (patch)
tree65b7104f855f4466477b785f34275fac55c30aa7
parente77e20f5a9e7b4861fa71abe4139bca5796fe4ae (diff)
new easier hotkeys for server-edit exit and ispell
-rw-r--r--elisp/autorg.el3
-rw-r--r--elisp/keymap.el7
2 files changed, 10 insertions, 0 deletions
diff --git a/elisp/autorg.el b/elisp/autorg.el
index a34b568..0a68b55 100644
--- a/elisp/autorg.el
+++ b/elisp/autorg.el
@@ -10,6 +10,9 @@
; remember extension
(require 'remember)
+; markdown
+(require 'markdown)
+
; flyspell extension
(autoload 'flyspell-mode "flyspell" "On-the-fly spelling checker." t)
diff --git a/elisp/keymap.el b/elisp/keymap.el
index 357c904..bd705a1 100644
--- a/elisp/keymap.el
+++ b/elisp/keymap.el
@@ -83,3 +83,10 @@
(global-set-key (kbd "M-q") 'justify-toggle-block)
(global-set-key (kbd "C-j") 'justify-toggle-block)
+
+; exit to a emacsclient caller
+(global-set-key [(control return)] 'server-edit)
+
+; run the spellchecker
+(global-set-key (kbd "s-SPC") 'ispell-word)
+