projects
/
~bandali
/
configs
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
9dcd3cf
)
emacs: ibuffer: show longer buffer names, add exwm filter group
author
Amin Bandali
<bandali@gnu.org>
Thu, 5 Sep 2019 16:04:23 +0000
(12:04 -0400)
committer
Amin Bandali
<bandali@gnu.org>
Thu, 5 Sep 2019 16:07:31 +0000
(12:07 -0400)
.emacs.d/init.el
patch
|
blob
|
blame
|
history
diff --git
a/.emacs.d/init.el
b/.emacs.d/init.el
index
63d5902
..
c2fc616
100644
(file)
--- 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))))
exwm-workspace-number 4
exwm-workspace-index-map (lambda (i) (number-to-string (1+ i))))
- ;; Make class name the buffer name, truncating beyond
5
0 characters
+ ;; Make class name the buffer name, truncating beyond
6
0 characters
(defun exwm-rename-buffer ()
(interactive)
(exwm-workspace-rename-buffer
(concat exwm-class-name ":"
(defun exwm-rename-buffer ()
(interactive)
(exwm-workspace-rename-buffer
(concat exwm-class-name ":"
- (if (<= (length exwm-title)
5
0) exwm-title
- (concat (substring exwm-title 0
4
9) "...")))))
+ (if (<= (length exwm-title)
6
0) exwm-title
+ (concat (substring exwm-title 0
5
9) "...")))))
(add-hook 'exwm-update-class-hook 'exwm-rename-buffer)
(add-hook 'exwm-update-title-hook 'exwm-rename-buffer)
(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\\*$")))
(or
(name . "^\\*scratch\\*$")
(name . "^\\*Messages\\*$")))
+ ("exwm" (mode . exwm-mode))
("erc" (mode . erc-mode)))))
(ibuffer-formats
'((mark modified read-only locked " "
("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)
" "
" "
(size-h 9 -1 :right)
" "