Commit c4723a2231b7

Vincent Demeester <vincent@sbr.pm>
2019-12-23 19:35:38
*: cleanup and fixup some variables and loading
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 3123bcb
lisp/setup-ivy.el
@@ -86,10 +86,6 @@ Otherwise, use `counsel-projectile-switch-project'."
     (bind-to-vde-map "s" #'counsel-rg))
   :config
   (progn
-    (define-key minibuffer-local-map
-      (kbd "C-r") 'counsel-minibuffer-history)
-    (define-key shell-mode-map
-      (kbd "C-r") 'counsel-shell-history)
     (setq
      counsel-describe-function-function 'helpful-function
      counsel-describe-variable-function 'helpful-variable)
lisp/setup-org.el
@@ -335,9 +335,10 @@ Switch projects and subprojects from STARTED back to TODO"
      ;;(ledger . t)
      (latex . t)
      (python . t)
-     (rust . t)
+     ;;(rust . t)
      (shell . t)
-     (typescript . t)))
+     ;;(typescript . t)
+     ))
 
   (setq org-latex-listings t)
 
lisp/setup-shells.el
@@ -29,10 +29,6 @@
                         shell-mode-map)))
   )
 
-(use-package shx                        ; Enhance comint-mode
-  :defer 2
-  :init (shx-global-mode 1))
-
 (use-package eshell                     ; Emacs command shell
   :bind* ("C-x m t" . eshell-here)
   :config
lisp/setup-style.el
@@ -148,23 +148,10 @@
   :config
   (setq x-underline-at-descent-line t)
   (moody-replace-mode-line-buffer-identification)
-  (moody-replace-vc-mode)
-  (moody-replace-org-clock-mode))
+  (moody-replace-vc-mode))
 
 ;;;; org-mode
 
-(defvar moody-org-clock-mode
-  ;;'(:eval (moody-ribbon (substring vc-mode 1) nil 'up))
-  '(:eval (moody-tab (substring org-mode-line-string 1) nil 'up)))
-(put 'moody-org-clock-mode 'risky-local-variable t)
-(make-variable-buffer-local 'moody-org-clock-mode)
-
-(defun moody-replace-org-clock-mode (&optional reverse)
-  (interactive "P")
-  (moody-replace-element '(org-mode-line-string org-mode-line-string)
-                         '(org-mode-line-string moody-org-clock-mode)
-                         reverse))
-
 (use-package minions                    ; A minor-mode menu for the mode line
   :init (minions-mode)
   :config
init.el
@@ -171,7 +171,6 @@ packages.")
 
 (use-package setup-style)
 (use-package setup-keybindings)
-(use-package setup-fold)
 (use-package setup-ivy)
 (use-package setup-vcs)
 (use-package setup-dired)
@@ -190,13 +189,9 @@ packages.")
 ;; Programming languages
 (use-package setup-nix)
 (use-package setup-go)
-(use-package setup-rust)
 (use-package setup-web)
 (use-package setup-docker)
 (use-package setup-hydras)
-;; Other software like (mail, irc, …)
-;; (use-package setup-notmuch)
-;; (use-package setup-elfeed)
 (use-package setup-browser)
 
 (use-package command-log-mode