Always enusre package
This commit is contained in:
parent
9c8da2bb1a
commit
dc1c2269e4
|
@ -1,3 +1,2 @@
|
||||||
(use-package bug-hunter
|
(use-package bug-hunter
|
||||||
:defer t
|
:defer t)
|
||||||
:ensure t)
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
(use-package company
|
(use-package company
|
||||||
:ensure t
|
|
||||||
:bind
|
:bind
|
||||||
("C-<tab>" . company-complete)
|
("C-<tab>" . company-complete)
|
||||||
:config
|
:config
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
(use-package counsel
|
(use-package counsel
|
||||||
:ensure t
|
|
||||||
:config
|
:config
|
||||||
(ivy-mode 1)
|
(ivy-mode 1)
|
||||||
(counsel-mode 1)
|
(counsel-mode 1)
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
(use-package deft
|
(use-package deft
|
||||||
:ensure t
|
|
||||||
:bind ("<f5>" . deft)
|
:bind ("<f5>" . deft)
|
||||||
:commands (deft)
|
:commands (deft)
|
||||||
:config
|
:config
|
||||||
|
@ -19,7 +18,6 @@
|
||||||
(setq deft-directory "~/nextcloud/10_documents/"))
|
(setq deft-directory "~/nextcloud/10_documents/"))
|
||||||
|
|
||||||
(use-package zetteldeft
|
(use-package zetteldeft
|
||||||
:ensure t
|
|
||||||
:after deft
|
:after deft
|
||||||
:config (zetteldeft-set-classic-keybindings)
|
:config (zetteldeft-set-classic-keybindings)
|
||||||
(setq zetteldeft-link-indicator "[["
|
(setq zetteldeft-link-indicator "[["
|
||||||
|
|
|
@ -17,7 +17,6 @@
|
||||||
(buffer-list)))
|
(buffer-list)))
|
||||||
|
|
||||||
(use-package dired-hide-dotfiles
|
(use-package dired-hide-dotfiles
|
||||||
:ensure t
|
|
||||||
:init
|
:init
|
||||||
(defun az-dired-mode-hook ()
|
(defun az-dired-mode-hook ()
|
||||||
"My `dired' mode hook."
|
"My `dired' mode hook."
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
;; evil-mode allows to use vim keybindings
|
;; evil-mode allows to use vim keybindings
|
||||||
(use-package evil
|
(use-package evil
|
||||||
:ensure t
|
|
||||||
:init
|
:init
|
||||||
(setq evil-undo-system 'undo-redo)
|
(setq evil-undo-system 'undo-redo)
|
||||||
(setq evil-want-integration t) ;; required by evil-collection
|
(setq evil-want-integration t) ;; required by evil-collection
|
||||||
|
@ -93,13 +92,11 @@
|
||||||
(define-key minibuffer-local-isearch-map [escape] 'minibuffer-keyboard-quit)
|
(define-key minibuffer-local-isearch-map [escape] 'minibuffer-keyboard-quit)
|
||||||
|
|
||||||
(use-package evil-surround
|
(use-package evil-surround
|
||||||
:ensure t
|
|
||||||
:after evil
|
:after evil
|
||||||
:config
|
:config
|
||||||
(global-evil-surround-mode 1))
|
(global-evil-surround-mode 1))
|
||||||
|
|
||||||
(use-package evil-collection
|
(use-package evil-collection
|
||||||
:after evil
|
:after evil
|
||||||
:ensure t
|
|
||||||
:config
|
:config
|
||||||
(evil-collection-init '(calendar calc dired ediff magit)))
|
(evil-collection-init '(calendar calc dired ediff magit)))
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
(use-package format-all
|
(use-package format-all
|
||||||
:ensure t
|
|
||||||
:hook
|
:hook
|
||||||
((prog-mode . format-all-ensure-formatter)
|
((prog-mode . format-all-ensure-formatter)
|
||||||
(yaml-mode . format-all-ensure-formatter)
|
(yaml-mode . format-all-ensure-formatter)
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
(use-package hydra
|
(use-package hydra)
|
||||||
:ensure t)
|
|
||||||
|
|
||||||
(defhydra hydra-buffer (:color red :columns 3)
|
(defhydra hydra-buffer (:color red :columns 3)
|
||||||
"
|
"
|
||||||
|
@ -283,7 +282,6 @@ T - tag prefix
|
||||||
)
|
)
|
||||||
|
|
||||||
(use-package general
|
(use-package general
|
||||||
:ensure t
|
|
||||||
:config
|
:config
|
||||||
(general-def
|
(general-def
|
||||||
:states '(normal visual insert emacs)
|
:states '(normal visual insert emacs)
|
||||||
|
|
|
@ -1,2 +1 @@
|
||||||
(use-package gnu-elpa-keyring-update
|
(use-package gnu-elpa-keyring-update)
|
||||||
:ensure t)
|
|
||||||
|
|
|
@ -1,3 +1,2 @@
|
||||||
(when (boundp 'enable-langtool)
|
(when (boundp 'enable-langtool)
|
||||||
(use-package langtool
|
(use-package langtool))
|
||||||
:ensure t))
|
|
||||||
|
|
|
@ -25,7 +25,6 @@
|
||||||
(when (boundp 'enable-auctex)
|
(when (boundp 'enable-auctex)
|
||||||
(use-package company-auctex
|
(use-package company-auctex
|
||||||
:if (is-linux-p)
|
:if (is-linux-p)
|
||||||
:ensure t
|
|
||||||
:after auctex
|
:after auctex
|
||||||
:defer t
|
:defer t
|
||||||
:init
|
:init
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
;; enable magit a great git porcelain.
|
;; enable magit a great git porcelain.
|
||||||
(use-package magit
|
(use-package magit
|
||||||
:ensure t
|
|
||||||
:commands magit-status
|
:commands magit-status
|
||||||
:bind
|
:bind
|
||||||
("<f10>" . magit-status)
|
("<f10>" . magit-status)
|
||||||
|
|
|
@ -1,9 +1,7 @@
|
||||||
(use-package discover-my-major
|
(use-package discover-my-major
|
||||||
:ensure t
|
|
||||||
:bind ("C-h C-m" . discover-my-major))
|
:bind ("C-h C-m" . discover-my-major))
|
||||||
|
|
||||||
(use-package helpful
|
(use-package helpful
|
||||||
:ensure t
|
|
||||||
:bind (("C-h f" . helpful-function)
|
:bind (("C-h f" . helpful-function)
|
||||||
("C-h v" . helpful-variable)
|
("C-h v" . helpful-variable)
|
||||||
("C-h s" . helpful-symbol)
|
("C-h s" . helpful-symbol)
|
||||||
|
@ -22,7 +20,6 @@
|
||||||
|
|
||||||
;; which key is a package to show which keys can be pressed
|
;; which key is a package to show which keys can be pressed
|
||||||
(use-package which-key
|
(use-package which-key
|
||||||
:ensure t
|
|
||||||
:diminish which-key-mode
|
:diminish which-key-mode
|
||||||
:config
|
:config
|
||||||
(which-key-mode))
|
(which-key-mode))
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
;; add markdown-mode to edit markdown files
|
;; add markdown-mode to edit markdown files
|
||||||
(use-package markdown-mode
|
(use-package markdown-mode
|
||||||
:ensure t
|
|
||||||
:commands (markdown-mode gfm-mode)
|
:commands (markdown-mode gfm-mode)
|
||||||
:mode (("README\\.md\\'" . gfm-mode)
|
:mode (("README\\.md\\'" . gfm-mode)
|
||||||
("\\.md\\'" . markdown-mode)
|
("\\.md\\'" . markdown-mode)
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
(use-package move-text
|
(use-package move-text
|
||||||
:ensure t
|
|
||||||
:config
|
:config
|
||||||
(move-text-default-bindings))
|
(move-text-default-bindings))
|
||||||
|
|
|
@ -1,14 +1,11 @@
|
||||||
(use-package dash
|
(use-package dash
|
||||||
:defer t
|
:defer t)
|
||||||
:ensure t)
|
|
||||||
|
|
||||||
(use-package swiper
|
(use-package swiper
|
||||||
:defer t
|
:defer t)
|
||||||
:ensure t)
|
|
||||||
|
|
||||||
(use-package s
|
(use-package s
|
||||||
:defer t
|
:defer t)
|
||||||
:ensure t)
|
|
||||||
|
|
||||||
(global-set-key (kbd "C-c i") 'org-insert-image)
|
(global-set-key (kbd "C-c i") 'org-insert-image)
|
||||||
;; start directory
|
;; start directory
|
||||||
|
|
|
@ -1,18 +1,15 @@
|
||||||
(when (boundp 'enable-org-bullets)
|
(when (boundp 'enable-org-bullets)
|
||||||
;; Enable pretty bullets in org mode
|
;; Enable pretty bullets in org mode
|
||||||
(use-package org-superstar
|
(use-package org-superstar
|
||||||
:ensure t
|
|
||||||
:config
|
:config
|
||||||
(add-hook 'org-mode-hook (lambda ()
|
(add-hook 'org-mode-hook (lambda ()
|
||||||
(org-superstar-mode 1)))))
|
(org-superstar-mode 1)))))
|
||||||
|
|
||||||
;; add a package to convert the agenda view to HTML
|
;; add a package to convert the agenda view to HTML
|
||||||
(use-package htmlize
|
(use-package htmlize
|
||||||
:ensure t
|
|
||||||
:after org)
|
:after org)
|
||||||
|
|
||||||
(use-package org-ref
|
(use-package org-ref
|
||||||
:ensure t
|
|
||||||
:after org
|
:after org
|
||||||
:init
|
:init
|
||||||
(setq org-ref-completion-library 'org-ref-ivy-cite)
|
(setq org-ref-completion-library 'org-ref-ivy-cite)
|
||||||
|
@ -25,11 +22,9 @@
|
||||||
|
|
||||||
(when (boundp 'enable-ox-pandoc)
|
(when (boundp 'enable-ox-pandoc)
|
||||||
(use-package ox-pandoc
|
(use-package ox-pandoc
|
||||||
:ensure t
|
|
||||||
:after org))
|
:after org))
|
||||||
|
|
||||||
(use-package org
|
(use-package org
|
||||||
:ensure t
|
|
||||||
:pin gnu
|
:pin gnu
|
||||||
:config
|
:config
|
||||||
|
|
||||||
|
|
|
@ -7,5 +7,6 @@
|
||||||
(package-refresh-contents)
|
(package-refresh-contents)
|
||||||
(package-install 'use-package))
|
(package-install 'use-package))
|
||||||
(require 'use-package)
|
(require 'use-package)
|
||||||
(use-package use-package-ensure-system-package
|
|
||||||
:ensure t)
|
(setq use-package-always-ensure t)
|
||||||
|
(use-package use-package-ensure-system-package)
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
(when (boundp 'enable-pdf-tools)
|
(when (boundp 'enable-pdf-tools)
|
||||||
(use-package pdf-tools
|
(use-package pdf-tools
|
||||||
:ensure t
|
|
||||||
:mode ("\\.pdf\\'" . pdf-view-mode)
|
:mode ("\\.pdf\\'" . pdf-view-mode)
|
||||||
:config
|
:config
|
||||||
(pdf-tools-install)
|
(pdf-tools-install)
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
;; enable powershell-mode
|
;; enable powershell-mode
|
||||||
(use-package powershell
|
(use-package powershell
|
||||||
:ensure t
|
|
||||||
:mode
|
:mode
|
||||||
(("\\.ps1\\'" . powershell-mode)
|
(("\\.ps1\\'" . powershell-mode)
|
||||||
("\\.psm1\\'" . powershell-mode)))
|
("\\.psm1\\'" . powershell-mode)))
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
(use-package projectile
|
(use-package projectile
|
||||||
:ensure t
|
|
||||||
:init
|
:init
|
||||||
(projectile-mode +1)
|
(projectile-mode +1)
|
||||||
:config
|
:config
|
||||||
|
|
|
@ -1,11 +1,9 @@
|
||||||
(use-package python-mode
|
(use-package python-mode
|
||||||
:ensure t
|
|
||||||
:defer t
|
:defer t
|
||||||
:config
|
:config
|
||||||
(setq python-shell-interpreter "python3"))
|
(setq python-shell-interpreter "python3"))
|
||||||
|
|
||||||
(use-package elpy
|
(use-package elpy
|
||||||
:ensure t
|
|
||||||
:config
|
:config
|
||||||
(setq elpy-rpc-python-command "python3")
|
(setq elpy-rpc-python-command "python3")
|
||||||
(setq elpy-test-runner 'elpy-test-pytest-runner)
|
(setq elpy-test-runner 'elpy-test-pytest-runner)
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
(use-package flycheck
|
(use-package flycheck)
|
||||||
:ensure t)
|
|
||||||
|
|
||||||
;; https://www.reddit.com/r/emacs/comments/931la6/tip_how_to_adopt_flycheck_as_your_new_best_friend/
|
;; https://www.reddit.com/r/emacs/comments/931la6/tip_how_to_adopt_flycheck_as_your_new_best_friend/
|
||||||
(defhydra hydra-flycheck (:color blue)
|
(defhydra hydra-flycheck (:color blue)
|
||||||
|
|
|
@ -14,7 +14,6 @@
|
||||||
(when (boundp 'enable-color-theme)
|
(when (boundp 'enable-color-theme)
|
||||||
;; load solarized color theme
|
;; load solarized color theme
|
||||||
(use-package solarized-theme
|
(use-package solarized-theme
|
||||||
:ensure t
|
|
||||||
:config
|
:config
|
||||||
(setq solarized-use-variable-pitch nil)
|
(setq solarized-use-variable-pitch nil)
|
||||||
(setq solarized-scale-org-headlines nil)
|
(setq solarized-scale-org-headlines nil)
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
(use-package treemacs
|
(use-package treemacs
|
||||||
:ensure t
|
|
||||||
:bind ("<f12>" . treemacs)
|
:bind ("<f12>" . treemacs)
|
||||||
:config
|
:config
|
||||||
(progn
|
(progn
|
||||||
(use-package treemacs-evil
|
(use-package treemacs-evil
|
||||||
:ensure t
|
|
||||||
:demand t)))
|
:demand t)))
|
||||||
|
|
|
@ -1,12 +1,10 @@
|
||||||
;; Amx, an alternative interface for M-x in Emacs
|
;; Amx, an alternative interface for M-x in Emacs
|
||||||
;; https://github.com/DarwinAwardWinner/amx
|
;; https://github.com/DarwinAwardWinner/amx
|
||||||
(use-package amx
|
(use-package amx
|
||||||
:ensure t
|
|
||||||
:config
|
:config
|
||||||
(amx-mode t))
|
(amx-mode t))
|
||||||
|
|
||||||
(use-package highlight-indent-guides
|
(use-package highlight-indent-guides
|
||||||
:ensure t
|
|
||||||
:config
|
:config
|
||||||
(setq highlight-indent-guides-method 'character
|
(setq highlight-indent-guides-method 'character
|
||||||
hightlight-indentation-mode nil
|
hightlight-indentation-mode nil
|
||||||
|
@ -19,13 +17,11 @@
|
||||||
|
|
||||||
;; change the colours of parenthesis the further out they are
|
;; change the colours of parenthesis the further out they are
|
||||||
(use-package rainbow-delimiters
|
(use-package rainbow-delimiters
|
||||||
:ensure t
|
|
||||||
:config
|
:config
|
||||||
(add-hook 'prog-mode-hook #'rainbow-delimiters-mode))
|
(add-hook 'prog-mode-hook #'rainbow-delimiters-mode))
|
||||||
|
|
||||||
;; smooth scrolling
|
;; smooth scrolling
|
||||||
(use-package smooth-scrolling
|
(use-package smooth-scrolling
|
||||||
:ensure t
|
|
||||||
:config
|
:config
|
||||||
(setq scroll-margin 1
|
(setq scroll-margin 1
|
||||||
scroll-conservatively 9999
|
scroll-conservatively 9999
|
||||||
|
@ -33,7 +29,6 @@
|
||||||
|
|
||||||
;; highlight bad whitespace
|
;; highlight bad whitespace
|
||||||
(use-package whitespace
|
(use-package whitespace
|
||||||
:ensure t
|
|
||||||
:config
|
:config
|
||||||
(setq whitespace-style '(face lines-tail tabs trailing))
|
(setq whitespace-style '(face lines-tail tabs trailing))
|
||||||
(set-face-attribute 'whitespace-line nil :foreground "#af005f")
|
(set-face-attribute 'whitespace-line nil :foreground "#af005f")
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
(use-package vterm
|
(use-package vterm
|
||||||
:ensure t
|
|
||||||
:config
|
:config
|
||||||
(setq vterm-kill-buffer-on-exit t
|
(setq vterm-kill-buffer-on-exit t
|
||||||
vterm-disable-bold t)
|
vterm-disable-bold t)
|
||||||
|
@ -7,6 +6,5 @@
|
||||||
(evil-set-initial-state 'vterm-mode 'emacs))
|
(evil-set-initial-state 'vterm-mode 'emacs))
|
||||||
|
|
||||||
(use-package multi-vterm
|
(use-package multi-vterm
|
||||||
:ensure t
|
|
||||||
:config
|
:config
|
||||||
(global-set-key (kbd "M-S-RET") 'multi-vterm))
|
(global-set-key (kbd "M-S-RET") 'multi-vterm))
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
;; web-mode for general web development
|
;; web-mode for general web development
|
||||||
(use-package web-mode
|
(use-package web-mode
|
||||||
:ensure t
|
|
||||||
:mode
|
:mode
|
||||||
(("\\.phtml\\'" . web-mode)
|
(("\\.phtml\\'" . web-mode)
|
||||||
("\\.tpl\\'" . web-mode)
|
("\\.tpl\\'" . web-mode)
|
||||||
|
@ -15,7 +14,6 @@
|
||||||
(add-to-list 'auto-mode-alist '("\\.phpi$" . my/php-setup)))
|
(add-to-list 'auto-mode-alist '("\\.phpi$" . my/php-setup)))
|
||||||
|
|
||||||
(use-package company-web
|
(use-package company-web
|
||||||
:ensure t
|
|
||||||
:after web-mode
|
:after web-mode
|
||||||
:commands company-web-html
|
:commands company-web-html
|
||||||
:config
|
:config
|
||||||
|
@ -41,6 +39,5 @@
|
||||||
(if tide-mode (tide-mode -1)))))))
|
(if tide-mode (tide-mode -1)))))))
|
||||||
|
|
||||||
(use-package company-restclient
|
(use-package company-restclient
|
||||||
:ensure t
|
|
||||||
:after (restclient company)
|
:after (restclient company)
|
||||||
:config (add-to-list 'company-backends 'company-restclient))
|
:config (add-to-list 'company-backends 'company-restclient))
|
||||||
|
|
|
@ -3,5 +3,4 @@
|
||||||
:mode
|
:mode
|
||||||
(("\\.yml\\'" . yaml-mode)
|
(("\\.yml\\'" . yaml-mode)
|
||||||
("\\.yaml\\'" . yaml-mode))
|
("\\.yaml\\'" . yaml-mode))
|
||||||
:interpreter ("yml" . yml-mode)
|
:interpreter ("yml" . yml-mode))
|
||||||
:ensure t)
|
|
||||||
|
|
|
@ -1,12 +1,10 @@
|
||||||
;; enable yasnippet
|
;; enable yasnippet
|
||||||
(use-package yasnippet
|
(use-package yasnippet
|
||||||
:ensure t
|
|
||||||
:config
|
:config
|
||||||
(yas-global-mode 1))
|
(yas-global-mode 1))
|
||||||
|
|
||||||
;; enable yasnippet
|
;; enable yasnippet
|
||||||
(use-package yasnippet-snippets
|
(use-package yasnippet-snippets
|
||||||
:ensure t
|
|
||||||
:after yasnippet
|
:after yasnippet
|
||||||
:config
|
:config
|
||||||
(yas-global-mode 1))
|
(yas-global-mode 1))
|
||||||
|
|
2
secrets
2
secrets
|
@ -1 +1 @@
|
||||||
Subproject commit 55a3f85cf9ec759cf95b1d364f829898b82fab44
|
Subproject commit cd18c6ff4ba59e0a72e0016dbe7654c380ccb5af
|
Loading…
Reference in New Issue