浏览代码

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")


正在加载...
取消
保存