summaryrefslogtreecommitdiff
path: root/nemacs-packages.el
blob: b9b7a80076993f40ba8c59e79892e2c046828398 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
;; Automatically update packages
(require 'nemacs-package-auto-package-update)
;; Org Mode
(require 'nemacs-package-org)
;; Remove Minor Modes from Modeline
(require 'nemacs-package-diminish)
;; Flyspell Autocorrect
(use-package flyspell
  :ensure t
  :diminish flyspell-mode)
;; Which-key mode
(use-package which-key
  :ensure t
  :diminish which-key-mode
  :init
  (which-key-mode +1))
;; Parentheses
(use-package paren
  :ensure t
  :config
  (show-paren-mode +1)
  (setq show-paren-style 'expression
	show-paren-when-point-inside-paren t
	show-parent-when-point-in-periphery t))
;; Ido Completions
(require 'nemacs-package-ido)
;; HTML Highlighting
(use-package htmlize
  :ensure t)
;; Argument documentation in the status bar
(use-package eldoc
  :ensure t
  :diminish eldoc-mode
  :hook
  ((emacs-lisp-mode-hook lisp-interaction-mode-hook) . eldoc-mode))
;; Avy
(use-package avy
  :ensure t
  :config
  (global-set-key (kbd "C-:") 'avy-goto-word-0)
  (global-set-key (kbd "M-g l") 'avy-goto-line)
  (global-set-key (kbd "M-g w") 'avy-goto-word-0))

(provide 'nemacs-packages)