mirror of
https://github.com/correl/doom-modeline.git
synced 2024-11-23 19:19:50 +00:00
Improve mouse-face for segments.
This commit is contained in:
parent
2e65c9d06b
commit
b0342b30b6
1 changed files with 4 additions and 0 deletions
|
@ -848,6 +848,7 @@ directory, the file name, and its state (modified, read-only or non-existent)."
|
||||||
(t (upcase (symbol-name (plist-get sys :name))))))
|
(t (upcase (symbol-name (plist-get sys :name))))))
|
||||||
" ")
|
" ")
|
||||||
'help-echo 'mode-line-mule-info-help-echo
|
'help-echo 'mode-line-mule-info-help-echo
|
||||||
|
'mouse-face '(:box 1)
|
||||||
'local-map mode-line-coding-system-map))
|
'local-map mode-line-coding-system-map))
|
||||||
|
|
||||||
|
|
||||||
|
@ -1189,6 +1190,7 @@ of active `multiple-cursors'."
|
||||||
(propertize " %I "
|
(propertize " %I "
|
||||||
'help-echo "Buffer size\n\
|
'help-echo "Buffer size\n\
|
||||||
mouse-1: Display Line and Column Mode Menu"
|
mouse-1: Display Line and Column Mode Menu"
|
||||||
|
'mouse-face '(:box 1)
|
||||||
'local-map mode-line-column-line-number-mode-map)))))
|
'local-map mode-line-column-line-number-mode-map)))))
|
||||||
|
|
||||||
|
|
||||||
|
@ -1326,6 +1328,7 @@ Requires `eyebrowse-mode' to be enabled."
|
||||||
'doom-modeline-persp-buffer-not-in-persp
|
'doom-modeline-persp-buffer-not-in-persp
|
||||||
'doom-modeline-persp-name)
|
'doom-modeline-persp-name)
|
||||||
'help-echo "mouse1: switch perspectives"
|
'help-echo "mouse1: switch perspectives"
|
||||||
|
'mouse-face '(:box 1)
|
||||||
'local-map (make-mode-line-mouse-map 'mouse-1 #'persp-switch))))))
|
'local-map (make-mode-line-mouse-map 'mouse-1 #'persp-switch))))))
|
||||||
|
|
||||||
(add-hook 'find-file-hook #'doom-modeline-update-persp-name)
|
(add-hook 'find-file-hook #'doom-modeline-update-persp-name)
|
||||||
|
@ -1402,6 +1405,7 @@ See `mode-line-percent-position'.")
|
||||||
`(:propertize (concat " " mode-line-position)
|
`(:propertize (concat " " mode-line-position)
|
||||||
help-echo "Buffer position\n\
|
help-echo "Buffer position\n\
|
||||||
mouse-1: Display Line and Column Mode Menu"
|
mouse-1: Display Line and Column Mode Menu"
|
||||||
|
mouse-face (:box 1)
|
||||||
local-map ,mode-line-column-line-number-mode-map))
|
local-map ,mode-line-column-line-number-mode-map))
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue