Commit 951164df authored by David Sveningsson's avatar David Sveningsson
Browse files

emacs: fix typos

parent 0df987a0
......@@ -258,7 +258,7 @@
:commands smerge-mode
:init
(progn
(setq smerge-command-prefix (kbd "C-c v"))))
(setq smerge-command-prefix (kbd "C-c v")))
:config
(defhydra unpackaged/smerge-hydra
(:color pink :hint nil :post (smerge-auto-leave))
......@@ -296,6 +296,7 @@ _p_rev _u_pper _=_: upper/lower _r_esolve
:hook (magit-diff-visit-file . (lambda ()
(when smerge-mode
(unpackaged/smerge-hydra/body)))))
#+END_SRC
* Hydra
#+BEGIN_SRC emacs-lisp
(use-package hydra
......@@ -489,76 +490,50 @@ Default configuration.
* Testing
#+BEGIN_SRC emacs-lisp
(use-package diminish
:ensure t)
:ensure t)
(use-package all-the-icons
:ensure t)
(use-package helm
:ensure t
:config
(helm-mode 1)
(global-set-key (kbd "M-x") 'helm-M-x))
(use-package helm-projectile
:ensure t
:init
(helm-projectile-on))
:ensure t)
(use-package flycheck
:ensure t
:ensure t
:diminish flycheck-mode
:hook (after-init . global-flycheck-mode)
:config
(setq flycheck-indication-mode 'right-fringe)
(setq flycheck-emacs-lisp-load-path 'inherit)
;; Display Flycheck errors in GUI tooltips
(if (display-graphic-p)
(use-package flycheck-pos-tip
:hook (global-flycheck-mode . flycheck-pos-tip-mode)
:config (setq flycheck-pos-tip-timeout 30))
(use-package flycheck-popup-tip
:hook (global-flycheck-mode . flycheck-popup-tip-mode)))
;; Jump to and fix syntax errors via `avy'
(use-package avy-flycheck
:ensure t
:hook (global-flycheck-mode . avy-flycheck-setup)))
(use-package avy-flycheck
:ensure t)
(use-package flycheck-color-mode-line
:ensure t
:ensure t
:config
(eval-after-load "flycheck"
'(add-hook 'flycheck-mode-hook 'flycheck-color-mode-line-mode)))
(eval-after-load "flycheck"
'(add-hook 'flycheck-mode-hook 'flycheck-color-mode-line-mode)))
(provide 'init-flycheck)
(use-package rainbow-delimiters
:ensure t
:config
(add-hook 'prog-mode-hook 'rainbow-delimiters-mode))
:ensure t
:config
(add-hook 'prog-mode-hook 'rainbow-delimiters-mode))
(use-package rainbow-mode
:ensure t
:ensure t
:config
(rainbow-mode))
(use-package fill-column-indicator
:ensure t
:config
(setq fci-rule-column 72)
(setq fci-rule-width 6)
(setq fci-rule-color "#343D46")
(define-globalized-minor-mode global-fci-mode fci-mode (lambda () (fci-mode 1)))
(global-fci-mode 1))
(use-package which-key
:ensure t
:ensure t
:config
(which-key-mode)
(which-key-setup-side-window-bottom))
(use-package webkit-color-picker
:ensure t
:ensure t
:bind (("C-c C-p" . webkit-color-picker-show)))
(use-package emmet-mode
:ensure t)
:ensure t)
(add-hook 'web-mode-hook 'emmet-mode) ;; Auto-start on any markup modes
(use-package hl-todo
:ensure t
:ensure t
:hook (prog-mode . hl-todo-mode)
:config
(setq hl-todo-keyword-faces
......@@ -567,6 +542,7 @@ Default configuration.
("NOTE" . ,(face-foreground 'success)))))
(use-package transpose-frame
:ensure t)
(global-set-key (kbd "C-c C-v") 'hydra-toggle/body)
(defhydra hydra-window (:color red
......@@ -607,9 +583,5 @@ Default configuration.
(setq auto-window-vscroll nil)
(global-prettify-symbols-mode +1)
(global-set-key (kbd "C-<left>") 'windmove-left)
(global-set-key (kbd "C-<right>") 'windmove-right)
(global-set-key (kbd "C-<up>") 'windmove-up)
(global-set-key (kbd "C-<down>") 'windmove-down)
#+END_SRC
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment