Moving around use-package declarations
This commit is contained in:
parent
a4daabd42c
commit
7b9dd53c3a
201
init.el
201
init.el
@ -610,6 +610,71 @@
|
|||||||
:pin "melpa-stable"
|
:pin "melpa-stable"
|
||||||
:commands (exec-path-from-shell-copy-envs))
|
:commands (exec-path-from-shell-copy-envs))
|
||||||
|
|
||||||
|
(use-package crux
|
||||||
|
:ensure t
|
||||||
|
:commands (crux-eval-and-replace
|
||||||
|
crux-smart-open-line-above
|
||||||
|
crux-kill-whole-line
|
||||||
|
crux-cleanup-buffer-or-region
|
||||||
|
crux-delete-buffer-and-file))
|
||||||
|
|
||||||
|
|
||||||
|
;; * Text editing
|
||||||
|
|
||||||
|
(use-package electric
|
||||||
|
:commands (electric-quote-mode))
|
||||||
|
|
||||||
|
(use-package elec-pair
|
||||||
|
:commands (electric-pair-mode)
|
||||||
|
:config (progn
|
||||||
|
(add-to-list 'electric-pair-pairs '(?“ . ?”))
|
||||||
|
(add-to-list 'electric-pair-text-pairs '(?“ . ?”))
|
||||||
|
(add-to-list 'electric-pair-pairs '(?„ . ?“))
|
||||||
|
(add-to-list 'electric-pair-text-pairs '(?„ . ?“))))
|
||||||
|
|
||||||
|
(use-package flyspell
|
||||||
|
:commands (flyspell-mode turn-on-flyspell)
|
||||||
|
:config (progn
|
||||||
|
(unbind-key "C-M-i" flyspell-mode-map)
|
||||||
|
(unbind-key "C-c $" flyspell-mode-map)))
|
||||||
|
|
||||||
|
(use-package key-chord
|
||||||
|
:commands (key-chord-mode)
|
||||||
|
:config (progn
|
||||||
|
(key-chord-define-global "``" "“")
|
||||||
|
(key-chord-define-global "''" "”")
|
||||||
|
(key-chord-define-global ",," "„")))
|
||||||
|
|
||||||
|
(use-package multiple-cursors
|
||||||
|
:pin "melpa-stable"
|
||||||
|
:ensure t
|
||||||
|
:commands (mc/edit-lines
|
||||||
|
mc/mark-next-like-this
|
||||||
|
mc/mark-previous-like-this
|
||||||
|
mc/mark-all-like-this))
|
||||||
|
|
||||||
|
(use-package synonyms
|
||||||
|
:commands (synonyms))
|
||||||
|
|
||||||
|
(use-package undo-tree
|
||||||
|
:ensure t
|
||||||
|
:commands (global-undo-tree-mode
|
||||||
|
undo
|
||||||
|
undo-tree-redo)
|
||||||
|
:init (setq undo-tree-visualizer-timestamps t
|
||||||
|
undo-tree-visualizer-diff t)
|
||||||
|
:diminish undo-tree-mode)
|
||||||
|
|
||||||
|
(use-package wgrep
|
||||||
|
:ensure t
|
||||||
|
:commands (wgrep-finish-edit
|
||||||
|
wgrep-change-to-wgrep-mode))
|
||||||
|
|
||||||
|
(use-package yasnippet
|
||||||
|
:commands (yas-minor-mode-on yas-minor-mode yas-global-mode)
|
||||||
|
:diminish yas-minor-mode
|
||||||
|
:config (yas-reload-all))
|
||||||
|
|
||||||
|
|
||||||
;; * Org
|
;; * Org
|
||||||
|
|
||||||
@ -1331,6 +1396,40 @@
|
|||||||
(use-package counsel-projectile
|
(use-package counsel-projectile
|
||||||
:commands counsel-projectile)
|
:commands counsel-projectile)
|
||||||
|
|
||||||
|
(use-package highlight-indentation
|
||||||
|
:commands highlight-indentation-mode)
|
||||||
|
|
||||||
|
(use-package iedit
|
||||||
|
:ensure t
|
||||||
|
:commands (iedit-mode))
|
||||||
|
|
||||||
|
(use-package page-break-lines
|
||||||
|
:pin "melpa-stable"
|
||||||
|
:commands (page-break-lines-mode)
|
||||||
|
:diminish page-break-lines-mode)
|
||||||
|
|
||||||
|
(use-package semantic
|
||||||
|
:commands (semantic-mode)
|
||||||
|
:init (setq semantic-default-submodes
|
||||||
|
'(global-semantic-idle-scheduler-mode
|
||||||
|
global-semanticdb-minor-mode))
|
||||||
|
:config (progn
|
||||||
|
(require 'semantic/ia)
|
||||||
|
(require 'semantic/bovine/el)
|
||||||
|
|
||||||
|
;; recognize `use-package' as include statement; the function seems
|
||||||
|
;; to have to be a byte-compiled function, for otherwise it just
|
||||||
|
;; won’t work … ?
|
||||||
|
(eval `(semantic-elisp-setup-form-parser
|
||||||
|
,(lambda (form start end)
|
||||||
|
(ignore start end)
|
||||||
|
(semantic-tag-new-include (symbol-name (nth 1 form))
|
||||||
|
nil))
|
||||||
|
use-package))))
|
||||||
|
|
||||||
|
(use-package flycheck
|
||||||
|
:commands (global-flycheck-mode flycheck-mode))
|
||||||
|
|
||||||
|
|
||||||
;; * Mail
|
;; * Mail
|
||||||
|
|
||||||
@ -2703,14 +2802,6 @@ With given ARG, display files in `db/important-document-path’."
|
|||||||
;; controlled by the value of `cperl-lazy-help-time'
|
;; controlled by the value of `cperl-lazy-help-time'
|
||||||
(add-hook 'cperl-mode-hook 'cperl-lazy-install)))
|
(add-hook 'cperl-mode-hook 'cperl-lazy-install)))
|
||||||
|
|
||||||
(use-package crux
|
|
||||||
:ensure t
|
|
||||||
:commands (crux-eval-and-replace
|
|
||||||
crux-smart-open-line-above
|
|
||||||
crux-kill-whole-line
|
|
||||||
crux-cleanup-buffer-or-region
|
|
||||||
crux-delete-buffer-and-file))
|
|
||||||
|
|
||||||
(use-package db-projects
|
(use-package db-projects
|
||||||
:commands (projects-add-project projects-archive-project))
|
:commands (projects-add-project projects-archive-project))
|
||||||
|
|
||||||
@ -2727,16 +2818,9 @@ With given ARG, display files in `db/important-document-path’."
|
|||||||
:ensure t
|
:ensure t
|
||||||
:commands edit-list)
|
:commands edit-list)
|
||||||
|
|
||||||
(use-package electric
|
(use-package expand-region
|
||||||
:commands (electric-quote-mode))
|
:ensure t
|
||||||
|
:commands (er/expand-region))
|
||||||
(use-package elec-pair
|
|
||||||
:commands (electric-pair-mode)
|
|
||||||
:config (progn
|
|
||||||
(add-to-list 'electric-pair-pairs '(?“ . ?”))
|
|
||||||
(add-to-list 'electric-pair-text-pairs '(?“ . ?”))
|
|
||||||
(add-to-list 'electric-pair-pairs '(?„ . ?“))
|
|
||||||
(add-to-list 'electric-pair-text-pairs '(?„ . ?“))))
|
|
||||||
|
|
||||||
(use-package eproject
|
(use-package eproject
|
||||||
;; This configuration is only present to inhibit eproject overriding
|
;; This configuration is only present to inhibit eproject overriding
|
||||||
@ -2748,23 +2832,10 @@ With given ARG, display files in `db/important-document-path’."
|
|||||||
(lambda ()
|
(lambda ()
|
||||||
(eproject-mode -1))))))
|
(eproject-mode -1))))))
|
||||||
|
|
||||||
(use-package expand-region
|
|
||||||
:ensure t
|
|
||||||
:commands (er/expand-region))
|
|
||||||
|
|
||||||
(use-package eww
|
(use-package eww
|
||||||
:init (setq eww-bookmarks-directory
|
:init (setq eww-bookmarks-directory
|
||||||
(expand-file-name "private/" emacs-d)))
|
(expand-file-name "private/" emacs-d)))
|
||||||
|
|
||||||
(use-package flycheck
|
|
||||||
:commands (global-flycheck-mode flycheck-mode))
|
|
||||||
|
|
||||||
(use-package flyspell
|
|
||||||
:commands (flyspell-mode turn-on-flyspell)
|
|
||||||
:config (progn
|
|
||||||
(unbind-key "C-M-i" flyspell-mode-map)
|
|
||||||
(unbind-key "C-c $" flyspell-mode-map)))
|
|
||||||
|
|
||||||
(use-package haskell-mode
|
(use-package haskell-mode
|
||||||
:config (progn
|
:config (progn
|
||||||
(add-hook 'haskell-mode-hook 'haskell-doc-mode)
|
(add-hook 'haskell-mode-hook 'haskell-doc-mode)
|
||||||
@ -2785,20 +2856,6 @@ With given ARG, display files in `db/important-document-path’."
|
|||||||
(add-hook 'haskell-mode-hook
|
(add-hook 'haskell-mode-hook
|
||||||
'interactive-haskell-mode)))
|
'interactive-haskell-mode)))
|
||||||
|
|
||||||
(use-package highlight-indentation
|
|
||||||
:commands highlight-indentation-mode)
|
|
||||||
|
|
||||||
(use-package iedit
|
|
||||||
:ensure t
|
|
||||||
:commands (iedit-mode))
|
|
||||||
|
|
||||||
(use-package key-chord
|
|
||||||
:commands (key-chord-mode)
|
|
||||||
:config (progn
|
|
||||||
(key-chord-define-global "``" "“")
|
|
||||||
(key-chord-define-global "''" "”")
|
|
||||||
(key-chord-define-global ",," "„")))
|
|
||||||
|
|
||||||
(use-package ldap
|
(use-package ldap
|
||||||
:commands (ldap-search)
|
:commands (ldap-search)
|
||||||
:init (setq ldap-default-host ""
|
:init (setq ldap-default-host ""
|
||||||
@ -2811,19 +2868,6 @@ With given ARG, display files in `db/important-document-path’."
|
|||||||
:init (setq markdown-use-pandoc-style-yaml-metadata t
|
:init (setq markdown-use-pandoc-style-yaml-metadata t
|
||||||
markdown-command "pandoc -f markdown -t html"))
|
markdown-command "pandoc -f markdown -t html"))
|
||||||
|
|
||||||
(use-package multiple-cursors
|
|
||||||
:pin "melpa-stable"
|
|
||||||
:ensure t
|
|
||||||
:commands (mc/edit-lines
|
|
||||||
mc/mark-next-like-this
|
|
||||||
mc/mark-previous-like-this
|
|
||||||
mc/mark-all-like-this))
|
|
||||||
|
|
||||||
(use-package page-break-lines
|
|
||||||
:pin "melpa-stable"
|
|
||||||
:commands (page-break-lines-mode)
|
|
||||||
:diminish page-break-lines-mode)
|
|
||||||
|
|
||||||
(use-package pdf-occur
|
(use-package pdf-occur
|
||||||
:commands (pdf-occur-global-minor-mode))
|
:commands (pdf-occur-global-minor-mode))
|
||||||
|
|
||||||
@ -2843,32 +2887,10 @@ With given ARG, display files in `db/important-document-path’."
|
|||||||
:commands (sdcv-search-pointer
|
:commands (sdcv-search-pointer
|
||||||
sdcv-search-input))
|
sdcv-search-input))
|
||||||
|
|
||||||
(use-package semantic
|
|
||||||
:commands (semantic-mode)
|
|
||||||
:init (setq semantic-default-submodes
|
|
||||||
'(global-semantic-idle-scheduler-mode
|
|
||||||
global-semanticdb-minor-mode))
|
|
||||||
:config (progn
|
|
||||||
(require 'semantic/ia)
|
|
||||||
(require 'semantic/bovine/el)
|
|
||||||
|
|
||||||
;; recognize `use-package' as include statement; the function seems
|
|
||||||
;; to have to be a byte-compiled function, for otherwise it just
|
|
||||||
;; won’t work … ?
|
|
||||||
(eval `(semantic-elisp-setup-form-parser
|
|
||||||
,(lambda (form start end)
|
|
||||||
(ignore start end)
|
|
||||||
(semantic-tag-new-include (symbol-name (nth 1 form))
|
|
||||||
nil))
|
|
||||||
use-package))))
|
|
||||||
|
|
||||||
(use-package sh-script
|
(use-package sh-script
|
||||||
:init (setq sh-basic-offset 2
|
:init (setq sh-basic-offset 2
|
||||||
sh-indentation 2))
|
sh-indentation 2))
|
||||||
|
|
||||||
(use-package synonyms
|
|
||||||
:commands (synonyms))
|
|
||||||
|
|
||||||
(use-package timeline-tools
|
(use-package timeline-tools
|
||||||
:load-path "site-lisp"
|
:load-path "site-lisp"
|
||||||
:commands (timeline-tools-format-timeline
|
:commands (timeline-tools-format-timeline
|
||||||
@ -2880,24 +2902,10 @@ With given ARG, display files in `db/important-document-path’."
|
|||||||
:commands (typing-of-emacs)
|
:commands (typing-of-emacs)
|
||||||
:init (setq toe-highscore-file nil))
|
:init (setq toe-highscore-file nil))
|
||||||
|
|
||||||
(use-package undo-tree
|
|
||||||
:ensure t
|
|
||||||
:commands (global-undo-tree-mode
|
|
||||||
undo
|
|
||||||
undo-tree-redo)
|
|
||||||
:init (setq undo-tree-visualizer-timestamps t
|
|
||||||
undo-tree-visualizer-diff t)
|
|
||||||
:diminish undo-tree-mode)
|
|
||||||
|
|
||||||
(use-package vlf
|
(use-package vlf
|
||||||
:ensure t
|
:ensure t
|
||||||
:commands (vlf))
|
:commands (vlf))
|
||||||
|
|
||||||
(use-package wgrep
|
|
||||||
:ensure t
|
|
||||||
:commands (wgrep-finish-edit
|
|
||||||
wgrep-change-to-wgrep-mode))
|
|
||||||
|
|
||||||
(use-package which-key
|
(use-package which-key
|
||||||
:ensure t
|
:ensure t
|
||||||
:commands (which-key-mode)
|
:commands (which-key-mode)
|
||||||
@ -2906,11 +2914,6 @@ With given ARG, display files in `db/important-document-path’."
|
|||||||
which-key-side-window-max-height 0.25)
|
which-key-side-window-max-height 0.25)
|
||||||
:config (which-key-setup-side-window-bottom))
|
:config (which-key-setup-side-window-bottom))
|
||||||
|
|
||||||
(use-package yasnippet
|
|
||||||
:commands (yas-minor-mode-on yas-minor-mode yas-global-mode)
|
|
||||||
:diminish yas-minor-mode
|
|
||||||
:config (yas-reload-all))
|
|
||||||
|
|
||||||
|
|
||||||
;; * Load customizations
|
;; * Load customizations
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user