Map markdown-live-preview to the right side

This commit is contained in:
RealStickman 2023-01-19 19:12:10 +01:00
parent 003df2880b
commit f02c3878c8

View File

@ -37,7 +37,6 @@
;; numbers are disabled. For relative line numbers, set this to `relative'. ;; numbers are disabled. For relative line numbers, set this to `relative'.
(setq display-line-numbers-type 'relative) (setq display-line-numbers-type 'relative)
;; Here are some additional functions/macros that could help you configure Doom: ;; Here are some additional functions/macros that could help you configure Doom:
;; ;;
;; - `load!' for loading external *.el files relative to this one ;; - `load!' for loading external *.el files relative to this one
@ -58,6 +57,13 @@
;; Enables the minimap by default. Use SPC-t-m to toggle ;; Enables the minimap by default. Use SPC-t-m to toggle
;(minimap-mode 1) ;(minimap-mode 1)
(map! :leader :map markdown-mode-map "m p" #'markdown-live-preview-mode)
; split window for markdown-live-preview-mode right
(setq markdown-split-window-direction 'right)
;(add-hook 'markdown-mode-hook 'markdown-live-preview-mode)
(setq (setq
projectile-project-search-path '("~/GitProjects/")) projectile-project-search-path '("~/GitProjects/"))