Make markdown-mode more comfortable for writing
This commit is contained in:
parent
cbb0bc9023
commit
ee5bda7fd9
|
@ -18,6 +18,12 @@
|
|||
(set (make-local-variable
|
||||
'yas-indent-line) 'fixed)))
|
||||
:config
|
||||
(add-hook 'markdown-mode-hook
|
||||
(defun az-markdown-editing ()
|
||||
"My settings for message composition."
|
||||
(setq whitespace-line-column 500)
|
||||
(turn-off-auto-fill)
|
||||
(flyspell-mode)))
|
||||
(defun insert-file-name-as-wikilink (filename &optional args)
|
||||
(interactive "*fInsert file name: \nP")
|
||||
(insert (concat "[[" (file-name-sans-extension (file-relative-name
|
||||
|
|
Loading…
Reference in New Issue