Skip to main content
`type-mode` => `typo-mode` (ironically enough :)
Source Link
phils
  • 53k
  • 3
  • 84
  • 127

I don't think there's an easy way out for this one. You might do something like:

(add-hook 'type'typo-mode-hook
          (lambda ()
            (when (and typetypo-mode (derived-mode-p 'markdown-mode))
              (let ((map (make-sparse-keymap)))
                (set-keymap-parent map typetypo-mode-map)
                (define-key map (kbd "`") 'self-insert-command)
                (push `(typetypo-mode . ,map)
                      minor-mode-overriding-map-alist)))))

                

I don't think there's an easy way out for this one. You might do something like:

(add-hook 'type-mode-hook
          (lambda ()
            (when (and type-mode (derived-mode-p 'markdown-mode))
              (let ((map (make-sparse-keymap)))
                (set-keymap-parent map type-mode-map)
                (define-key map (kbd "`") 'self-insert-command)
                (push `(type-mode . ,map)
                      minor-mode-overriding-map-alist)))))

                

I don't think there's an easy way out for this one. You might do something like:

(add-hook 'typo-mode-hook
          (lambda ()
            (when (and typo-mode (derived-mode-p 'markdown-mode))
              (let ((map (make-sparse-keymap)))
                (set-keymap-parent map typo-mode-map)
                (define-key map (kbd "`") 'self-insert-command)
                (push `(typo-mode . ,map)
                      minor-mode-overriding-map-alist)))))
Source Link
Stefan
  • 26.7k
  • 3
  • 52
  • 88

I don't think there's an easy way out for this one. You might do something like:

(add-hook 'type-mode-hook
          (lambda ()
            (when (and type-mode (derived-mode-p 'markdown-mode))
              (let ((map (make-sparse-keymap)))
                (set-keymap-parent map type-mode-map)
                (define-key map (kbd "`") 'self-insert-command)
                (push `(type-mode . ,map)
                      minor-mode-overriding-map-alist)))))