mirror of
https://github.com/correl/doom-modeline.git
synced 2024-12-24 03:00:09 +00:00
Update buffer file name in evil.
See https://github.com/seagle0128/doom-modeline/issues/129#issuecomment-469327822.
This commit is contained in:
parent
c69ec1e5c5
commit
8e0ed6239b
1 changed files with 2 additions and 0 deletions
|
@ -282,6 +282,8 @@ mouse-1: Previous buffer\nmouse-3: Next buffer"
|
|||
(add-hook 'after-save-hook #'doom-modeline-update-buffer-file-name)
|
||||
(add-hook 'after-change-functions #'doom-modeline-update-buffer-file-name)
|
||||
(add-hook 'clone-indirect-buffer-hook #'doom-modeline-update-buffer-file-name)
|
||||
(add-hook 'evil-insert-state-exit-hook #'doom-modeline-update-buffer-file-name)
|
||||
(add-hook 'evil-insert-state-exit-hook #'doom-modeline-update-buffer-file-state-icon)
|
||||
(advice-add #'rename-buffer :after #'doom-modeline-update-buffer-file-name)
|
||||
(advice-add #'set-visited-file-name :after #'doom-modeline-update-buffer-file-name)
|
||||
(advice-add #'undo :after #'doom-modeline-update-buffer-file-name)
|
||||
|
|
Loading…
Reference in a new issue