summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2019-09-05 12:04:23 -0400
committerAmin Bandali <bandali@gnu.org>2019-09-05 12:07:31 -0400
commit319c6483dd7c28e288cbe17b47bd64e0d2b101ae (patch)
tree486a9c7a5d63098b91925bf244adc1aa65b9a9f7
parent9dcd3cfe2201f862348a643061ddb39ee0042ba9 (diff)
downloadconfigs-319c6483dd7c28e288cbe17b47bd64e0d2b101ae.tar.gz
configs-319c6483dd7c28e288cbe17b47bd64e0d2b101ae.tar.xz
configs-319c6483dd7c28e288cbe17b47bd64e0d2b101ae.zip
emacs: ibuffer: show longer buffer names, add exwm filter group
-rw-r--r--.emacs.d/init.el9
1 files changed, 5 insertions, 4 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index 63d5902..c2fc616 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -569,13 +569,13 @@ For disabling the behaviour for certain buffers and/or modes."
exwm-workspace-number 4
exwm-workspace-index-map (lambda (i) (number-to-string (1+ i))))
- ;; Make class name the buffer name, truncating beyond 50 characters
+ ;; Make class name the buffer name, truncating beyond 60 characters
(defun exwm-rename-buffer ()
(interactive)
(exwm-workspace-rename-buffer
(concat exwm-class-name ":"
- (if (<= (length exwm-title) 50) exwm-title
- (concat (substring exwm-title 0 49) "...")))))
+ (if (<= (length exwm-title) 60) exwm-title
+ (concat (substring exwm-title 0 59) "...")))))
(add-hook 'exwm-update-class-hook 'exwm-rename-buffer)
(add-hook 'exwm-update-title-hook 'exwm-rename-buffer)
@@ -1084,10 +1084,11 @@ This function is intended for use with `ivy-ignore-buffers'."
(or
(name . "^\\*scratch\\*$")
(name . "^\\*Messages\\*$")))
+ ("exwm" (mode . exwm-mode))
("erc" (mode . erc-mode)))))
(ibuffer-formats
'((mark modified read-only locked " "
- (name 18 18 :left :elide)
+ (name 72 72 :left :elide)
" "
(size-h 9 -1 :right)
" "