commit b3a6c5ee6ebc423d3fe33dab69efe1b012f02613
parent a1e8b894af3a88d0da4b1df1e0063361377d0ed3
Author: Vincent Demeester <vincent@sbr.pm>
Date: Tue, 14 Apr 2020 20:55:37 +0200
emacs: remove eyebrowse 👁
tab-bar should be enough 😉
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
4 files changed, 3 insertions(+), 41 deletions(-)
diff --git a/modules/profiles/emacs.nix b/modules/profiles/emacs.nix
@@ -71,7 +71,6 @@ in
easy-kill
esup
expand-region
- eyebrowse
flycheck
flycheck-golangci-lint
git-commit
diff --git a/tools/emacs/config/config-appearance.el b/tools/emacs/config/config-appearance.el
@@ -109,28 +109,8 @@
;; Show buffer position percentage starting from top
mode-line-percent-position '(-3 "%o"))
- (defvar mu-eyebrowse-mode-line
- '(:propertize
- (:eval
- (when (bound-and-true-p eyebrowse-mode)
- (let* ((num (eyebrowse--get 'current-slot))
- (tag (when num
- (nth 2 (assoc num (eyebrowse--get 'window-configs)))))
- (str (concat
- " "
- (if (and tag (< 0 (length tag)))
- tag
- (when num (int-to-string num)))
- " ")))
- str)))
- face (:background "#81a2be" :foreground "#373b41"))
- "Mode line format for Eyebrowse.")
-
- (put 'mu-eyebrowse-mode-line 'risky-local-variable t)
-
(setq-default mode-line-format
'("%e"
- mu-eyebrowse-mode-line
mode-line-front-space
mode-line-client
mode-line-modified
diff --git a/tools/emacs/config/config-vcs.el b/tools/emacs/config/config-vcs.el
@@ -88,9 +88,9 @@
magit-display-buffer-function #'magit-display-buffer-traditional)
(magit-define-popup-option 'magit-rebase-popup
- ?S "Sign using gpg" "--gpg-sign=" #'magit-read-gpg-secret-key)
+ ?S "Sign using gpg" "--gpg-sign=" #'magit-read-gpg-secret-key)
(magit-define-popup-switch 'magit-log-popup
- ?m "Omit merge commits" "--no-merges")
+ ?m "Omit merge commits" "--no-merges")
;; Hide "Recent Commits"
(magit-add-section-hook 'magit-status-sections-hook
@@ -105,10 +105,7 @@
#'mu-magit-set-repo-dirs-from-projectile)
;; Refresh `magit-status' after saving a buffer
- (add-hook 'after-save-hook #'magit-after-save-refresh-status)
-
- ;; Free C-c C-w for Eyebrowse
- (unbind-key "C-c C-w" git-commit-mode-map))
+ (add-hook 'after-save-hook #'magit-after-save-refresh-status))
;; -UseMagit
;; UseGitCommit
diff --git a/tools/emacs/config/config-windows.el b/tools/emacs/config/config-windows.el
@@ -57,19 +57,5 @@
;;(bind-key "C-c w t" #'vde/window-split-toggle)
-(use-package eyebrowse
- :commands (eyebrowse-switch-to-window-config)
- :bind (("C-c w s" . eyebrowse-switch-to-window-config)
- ("C-c w k" . eyebrowse-close-window-config)
- ("C-c w w" . eyebrowse-last-window-config)
- ("C-c w n" . eyebrowse-next-window-config)
- ("C-c w p" . eyebrowse-prev-window-config))
- :config
- (setq-default eyebrowse-mode-line-separator " "
- eyebrowse-mode-line-style 'always
- eyebrowse-new-workspace t
- eyebrowse-wrap-around t)
- (eyebrowse-mode 1))
-
(provide 'config-windows)
;;; config-windows ends here