add flyspell and evil surround
This commit is contained in:
parent
dadaeb2b01
commit
19eb0a3956
12
conf.org
12
conf.org
|
@ -339,6 +339,10 @@ event of an error or nonlocal exit."
|
||||||
(yas-reload-all))
|
(yas-reload-all))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
* languages
|
* languages
|
||||||
|
** flyspell
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(setq flyspell-issue-message-flag nil)
|
||||||
|
#+END_SRC
|
||||||
** progmode
|
** progmode
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(add-hook 'prog-mode-hook #'prettify-symbols-mode)
|
(add-hook 'prog-mode-hook #'prettify-symbols-mode)
|
||||||
|
@ -1647,6 +1651,14 @@ I like being evil. All package and custom bindings go here.
|
||||||
:config
|
:config
|
||||||
(evil-mode 1))
|
(evil-mode 1))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
*** surround
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(use-package evil-surround
|
||||||
|
:ensure t
|
||||||
|
:after evil
|
||||||
|
:config
|
||||||
|
(global-evil-surround-mode 1))
|
||||||
|
#+END_SRC
|
||||||
*** unbind emacs keys
|
*** unbind emacs keys
|
||||||
Some of these commands just get in the way of being evil (which really means that I keep pressing them on accident). Rather than nullifying them completely, tuck them away in the emacs state map in case I actually want them.
|
Some of these commands just get in the way of being evil (which really means that I keep pressing them on accident). Rather than nullifying them completely, tuck them away in the emacs state map in case I actually want them.
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
|
2
init.el
2
init.el
|
@ -21,7 +21,7 @@
|
||||||
;; If there is more than one, they won't work right.
|
;; If there is more than one, they won't work right.
|
||||||
'(package-selected-packages
|
'(package-selected-packages
|
||||||
(quote
|
(quote
|
||||||
(markdown-mode polymode csv-mode company-ghc calf-org evil-magit magit yasnippet-snippets flycheck rainbow-delimiters-mode helm evil-collection haskell-mode fill-column-indicator gtklp delight browse-kill-ring evil-org-agenda evil-org evil calfw calfw-org yaml-mode which-key use-package systemd sudo-edit spaceline rainbow-mode rainbow-delimiters pkgbuild-mode pdf-tools org-bullets lua-mode ess elpy diff-hl beacon ace-window))))
|
(evil-surround markdown-mode polymode csv-mode company-ghc calf-org evil-magit magit yasnippet-snippets flycheck rainbow-delimiters-mode helm evil-collection haskell-mode fill-column-indicator gtklp delight browse-kill-ring evil-org-agenda evil-org evil calfw calfw-org yaml-mode which-key use-package systemd sudo-edit spaceline rainbow-mode rainbow-delimiters pkgbuild-mode pdf-tools org-bullets lua-mode ess elpy diff-hl beacon ace-window))))
|
||||||
(custom-set-faces
|
(custom-set-faces
|
||||||
;; custom-set-faces was added by Custom.
|
;; custom-set-faces was added by Custom.
|
||||||
;; If you edit it by hand, you could mess it up, so be careful.
|
;; If you edit it by hand, you could mess it up, so be careful.
|
||||||
|
|
Loading…
Reference in New Issue