Hi Drew, I put this in my init.el file ;;(define-key KEYMAP KEY DEF &optional REMOVE) (require "markdown-mode) (define-key markdown-mode-map (kbd "C-c a") #'rcd-markdown-preview) ......................................................................... when starting emacs the message came up: Warning (initialization): An error occurred while loading ‘/home/gfp/.config/emacs/init.el’: End of file during parsing: /home/gfp/.config/emacs/init.el To ensure normal operation, you should investigate and remove the cause of the error in your initialization file. Start Emacs with the ‘--debug-init’ option to view a complete error backtrace. Disable showing Disable logging ........................................................................ Did I put it in the right order? Or any other mistake? Kind regards Gottfried Am 09.02.23 um 18:13 schrieb Drew Adams: >>> ;; if `markdown.el' is the file name: >>>> (require 'markdown) >> >> >> I have got a "markdown-mode.el" file >> but I didn’t find a "markdown-el" file. >> So if I understand you right, >> I have to put this in my init.el file: >> >> (require "markdown-mode) >> >> Am I right? > > Yes, that's right. > I misguessed the library name. --