Merge pull request #1154 from seanfarley/lui-fix
irc: fix lui track bar not being enabled
This commit is contained in:
commit
45f7324b54
1 changed files with 3 additions and 3 deletions
|
@ -203,9 +203,6 @@ after prompt marker."
|
||||||
(add-hook! 'lui-mode-hook
|
(add-hook! 'lui-mode-hook
|
||||||
(add-hook 'evil-insert-state-entry-hook #'+irc|evil-insert nil t))
|
(add-hook 'evil-insert-state-entry-hook #'+irc|evil-insert nil t))
|
||||||
|
|
||||||
;; enable a horizontal line marking the last read message
|
|
||||||
(add-hook 'lui-mode-hook #'enable-lui-track-bar)
|
|
||||||
|
|
||||||
(mapc (lambda (cmd) (push cmd +irc-scroll-to-bottom-on-commands))
|
(mapc (lambda (cmd) (push cmd +irc-scroll-to-bottom-on-commands))
|
||||||
'(evil-paste-after evil-paste-before evil-open-above evil-open-below)))
|
'(evil-paste-after evil-paste-before evil-open-above evil-open-below)))
|
||||||
|
|
||||||
|
@ -229,6 +226,9 @@ Courtesy of esh-mode.el"
|
||||||
(add-hook! 'lui-mode-hook
|
(add-hook! 'lui-mode-hook
|
||||||
(add-hook 'pre-command-hook #'+irc|preinput-scroll-to-bottom nil t))
|
(add-hook 'pre-command-hook #'+irc|preinput-scroll-to-bottom nil t))
|
||||||
|
|
||||||
|
;; enable a horizontal line marking the last read message
|
||||||
|
(add-hook! 'lui-mode-hook #'enable-lui-track-bar)
|
||||||
|
|
||||||
(defun +irc|init-lui-margins ()
|
(defun +irc|init-lui-margins ()
|
||||||
(setq lui-time-stamp-position 'right-margin
|
(setq lui-time-stamp-position 'right-margin
|
||||||
lui-time-stamp-format +irc-time-stamp-format
|
lui-time-stamp-format +irc-time-stamp-format
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue