From 4cf44403f3433f3e424a62fa57ff15b009a7e744 Mon Sep 17 00:00:00 2001 From: Dimitri Lozeve Date: Tue, 13 Jul 2021 16:30:47 +0200 Subject: [PATCH] Remove unused packages --- init.el | 38 -------------------------------------- 1 file changed, 38 deletions(-) diff --git a/init.el b/init.el index 9fca8de..72465a8 100644 --- a/init.el +++ b/init.el @@ -174,12 +174,6 @@ :straight t :bind (("" . deadgrep))) -(use-package ace-window - :straight t - :config - (global-set-key (kbd "M-o") 'ace-window) - (setq aw-keys '(?q ?s ?d ?f ?g ?h ?j ?k ?l))) - (use-package magit :straight t :bind (("C-x g" . magit-status) @@ -398,9 +392,6 @@ (let ((comint-buffer-maximum-size 0)) (comint-truncate-buffer))))) -(use-package rust-mode - :straight t) - (use-package zig-mode :straight t :config @@ -487,13 +478,6 @@ :straight t :bind ("C-c C-f" . format-all-buffer)) -(use-package restclient - :straight t - :defer t - :mode (("\\.http\\'" . restclient-mode)) - :bind (:map restclient-mode-map - ("C-c C-f" . json-mode-beautify))) - (use-package elfeed :straight t :bind ("C-c f" . elfeed) @@ -513,17 +497,6 @@ :config (pdf-tools-install)) -(use-package nov - :straight t - :config - (add-to-list 'auto-mode-alist '("\\.epub\\'" . nov-mode)) - (setq nov-text-width 100)) - -(use-package twittering-mode - :straight t - :config - (setq twittering-reverse-mode nil)) - (use-package mathpix.el :straight (:host github :repo "jethrokuan/mathpix.el") ;; You also need to configure `mathpix-app-id` and @@ -853,13 +826,6 @@ (define-key vterm-mode-map (kbd "") (lambda () (interactive) (vterm-send-key (kbd "C-w"))))) -(defun my-insert-char () - "Search for a unicode character and insert it." - (interactive) - (with-temp-buffer - (call-interactively 'insert-char) - (kill-ring-save (point-min) (point-max)))) - ;; configuration file for secrets (API keys, etc) (setq secrets-file (expand-file-name "secrets.el" user-emacs-directory)) @@ -874,9 +840,5 @@ (when (file-exists-p custom-file) (load custom-file)) -;;(setq initial-scratch-message ";; ╔═╗┌─┐┬─┐┌─┐┌┬┐┌─┐┬ ┬\n;; ╚═╗│ ├┬┘├─┤ │ │ ├─┤\n;; ╚═╝└─┘┴└─┴ ┴ ┴ └─┘┴ ┴\n\n") -;;(setq initial-scratch-message ";; ____ \\__ \\ \n;; \\__ \\__/ / __\n;; __/ ____ \\ \\ \\ ____\n;; / __ \\__ \\ \\/ / __ \\__ \\ \n;; ____ \\ \\ \\__/ / __ \\/ / __/ / __\n;; ____ \\__ \\ \\/ ____ \\/ / __/ / __ \\ \\ \\ \n;; \\__ \\__/ / __ \\__ \\__/ / __ \\ \\ \\ \\/\n;; __/ ____ \\ \\ \\__/ ____ \\ \\ \\ \\/ / __\n;; / __ \\__ \\ \\/ ____ \\__ \\ \\/ / __ \\/ /\n;; \\ \\ \\__/ / __ \\__ \\__/ / __ \\ \\ \\__/\n;; \\/ ____ \\/ / __/ ____ \\ \\ \\ \\/ ____\n;; \\__ \\__/ / __ \\__ \\ \\/ / __ \\__ \\ \n;; __/ ____ \\ \\ \\__/ / __ \\/ / __/ / __\n;; / __ \\__ \\ \\/ ____ \\/ / __/ / __ \\/ /\n;; \\/ / __/ / __ \\__ \\__/ / __ \\/ / __/\n;; __/ / __ \\ \\ \\__/ ____ \\ \\ \\__/ / __\n;; / __ \\ \\ \\ \\/ ____ \\__ \\ \\/ ____ \\/ /\n;; \\ \\ \\ \\/ / __ \\__ \\__/ / __ \\__ \\__/\n;; \\/ / __ \\/ / __/ ____ \\ \\ \\__/\n;; \\ \\ \\__/ / __ \\__ \\ \\/\n;; \\/ \\ \\ \\__/ / __\n;; \\/ ____ \\/ /\n;; \\__ \\__/\n;; __/\n\n\n") -;;(setq initial-scratch-message ";; ____\n;; /.../\\\n;; /.../--\\ \n;; /.../----\\ \n;; /.../------\\\n;; /.../---/\\---\\ \n;; /.../---/\\\\\\---\\\n;; /.../---/\\\\\\\\\\---\\\n;; /.../===/__\\\\\\\\\\---\\\n;; /............\\\\\\\\\\---\\\n;; /..............\\\\\\\\\\---\\\n;; \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\--/\n;; \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\/\n\n\n") - ;;; init.el ends here