瀏覽代碼

Remove markdown-electric-backquote keybind

master
10sr 5 年之前
父節點
當前提交
32a86f14f8
簽署人: 10sr GPG 金鑰 ID: 7BEC428194130EB2
共有 1 個檔案被更改,包括 3 行新增1 行删除
  1. +3
    -1
      emacs.el

+ 3
- 1
emacs.el 查看文件

@@ -1542,7 +1542,9 @@ found, otherwise returns nil."
(when (autoload-eval-lazily 'markdown-mode
'(markdown-mode gfm-mode)
(defvar gfm-mode-map (make-sparse-keymap))
(define-key gfm-mode-map (kbd "C-m") 'electric-indent-just-newline))
(define-key gfm-mode-map (kbd "C-m") 'electric-indent-just-newline)
(define-key gfm-mode-map "`" nil) ;; markdown-electric-backquote
)
(add-to-list 'auto-mode-alist (cons "\\.md\\'" 'gfm-mode))
(set-variable 'markdown-command (or (executable-find "markdown")
(executable-find "markdown.pl")


Loading…
取消
儲存