diff options
-rw-r--r-- | init.el | 5 | ||||
-rw-r--r-- | lib/eos/jao-tracking.el | 4 |
2 files changed, 5 insertions, 4 deletions
@@ -755,8 +755,7 @@ :init (setq jao-tracking-bkg (if (jao-colors-scheme-dark-p) "grey20" "grey93") jao-tracking-use-scratch (not window-system)) - :config (jao-tracking-set-up) - :bind (("C-c C-SPC" . jao-tracking-next-buffer))) + :config (jao-tracking-setup)) ;;;; tmr (use-package tmr @@ -3126,7 +3125,7 @@ (defalias 'jao-streaming-like #'jao-spt-like) (defalias 'jao-streaming-dislike #'jao-spt-dislike))) -(defvar jao-spt-on t) +(defvar jao-spt-on nil) (defun jao-spt-on-p () jao-spt-on) (jao-def-exec-in-term "spt" "spt" (jao-afio-goto-scratch t)) diff --git a/lib/eos/jao-tracking.el b/lib/eos/jao-tracking.el index 386cc12..badffae 100644 --- a/lib/eos/jao-tracking.el +++ b/lib/eos/jao-tracking.el @@ -149,7 +149,9 @@ (add-variable-watcher 'tracking-mode-line-buffers #'jao-tracking-echo) ;; since we're using the minibuffer, forget the mode line (advice-add #'tracking-mode :override (lambda (&optional _) (interactive))) - (add-hook 'jao-afio-switch-hook #'jao-tracking--remove-visible-buffers)) + (add-hook 'jao-afio-switch-hook #'jao-tracking--remove-visible-buffers) + (global-set-key (kbd "C-c C-SPC") #'jao-tracking-next-buffer) + (define-key tracking-mode-map (kbd "C-c C-SPC") #'jao-tracking-next-buffer)) (provide 'jao-tracking) ;;; jao-minibuffer-tracking.el ends here |