diff options
-rw-r--r-- | zencoding-mode.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/zencoding-mode.el b/zencoding-mode.el index 175940d..54fcc47 100644 --- a/zencoding-mode.el +++ b/zencoding-mode.el @@ -62,6 +62,8 @@ ;; Include the trie data structure for caching ;(require 'zencoding-trie) +(require 'cl) + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Generic parsing macros and utilities @@ -573,6 +575,7 @@ For more information see `zencoding-mode'." nil (progn (setq zencoding-mode-keymap (make-sparse-keymap)) + (define-key zencoding-mode-keymap (kbd "C-j") 'zencoding-expand-line) (define-key zencoding-mode-keymap (kbd "<C-return>") 'zencoding-expand-line))) ;;;###autoload @@ -652,6 +655,7 @@ See also `zencoding-expand-line'." (defvar zencoding-preview-keymap (let ((map (make-sparse-keymap))) + (define-key map (kbd "RET") 'zencoding-preview-accept) (define-key map (kbd "<return>") 'zencoding-preview-accept) (define-key map [(control ?g)] 'zencoding-preview-abort) map)) |