Move lang files
Some checks are pending
/ Test config on ${{matrix.node}} (20) (push) Waiting to run
Some checks are pending
/ Test config on ${{matrix.node}} (20) (push) Waiting to run
This commit is contained in:
parent
bf90b046b8
commit
1f20dd7bc1
27 changed files with 81 additions and 82 deletions
|
|
@ -1,28 +0,0 @@
|
|||
;;; markdown -- summary -*- lexical-binding: t; -*-
|
||||
;;; Commentary:
|
||||
;;; Code:
|
||||
|
||||
(require 'icejam-prog-mode)
|
||||
|
||||
(use-package markdown-mode
|
||||
:straight t
|
||||
:defer t
|
||||
:init (setq-default markdown-command "pandoc"))
|
||||
|
||||
(defun +custom-lang-markdown/activate-markdown-mode ()
|
||||
"Reconfigure markdown mode for your own purposes."
|
||||
(set-indent 2)
|
||||
(column-enforce-n 10000)
|
||||
|
||||
;; Markdown mode reuses my bindings, remove them.
|
||||
(define-key markdown-mode-map (kbd "C-c <left>") nil)
|
||||
(define-key markdown-mode-map (kbd "C-c <right>") nil)
|
||||
(define-key markdown-mode-map (kbd "C-c <up>") nil)
|
||||
(define-key markdown-mode-map (kbd "C-c <down>") nil)
|
||||
(define-key markdown-mode-map (kbd "C-c C-v") 'markdown-preview))
|
||||
|
||||
(add-hook 'markdown-mode-hook '+custom-lang-markdown/activate-markdown-mode)
|
||||
(add-hook 'markdown-mode-hook 'display-line-numbers-mode)
|
||||
|
||||
(provide '+custom-lang-markdown)
|
||||
;;; markdown.el ends here
|
||||
Loading…
Add table
Add a link
Reference in a new issue