~idmyn/dotfiles

94d4b8d305231065a1e8771cf656756f4f9d17ad — davidmy@nandos.co.uk a month ago 38f1a7e
Add olivetti and keybind to toggle it
1 files changed, 10 insertions(+), 1 deletions(-)

M emacs/minimal.el
M emacs/minimal.el => emacs/minimal.el +10 -1
@@ 71,9 71,11 @@
  :config
  (general-create-definer global-leader
    :prefix "SPC")

  (general-create-definer toggle-leader
    :prefix "SPC t")
  (general-create-definer file-leader
    :prefix "SPC f")

  (file-leader 'normal
    "s" 'save-buffer)



@@ 202,10 204,17 @@

(use-package markdown-mode
  :mode "\\.md\\'"
  :config (setq-default fill-column 80)
  :custom-face
  (markdown-markup-face ((t (:inherit default :foreground "gray50"))))
  (markdown-pre-face ((t (:inherit default)))))

(use-package olivetti
  :commands olivetti-mode
  :init
  (toggle-leader 'normal
    "o" 'olivetti-mode))

(setq js-indent-level 2)

(use-package terraform-mode