Move some more settings to lui from circe
This commit is contained in:
parent
90b0f4e509
commit
dc12ea13f6
2 changed files with 21 additions and 21 deletions
|
@ -167,27 +167,6 @@ wanted it. So now I use Circe.
|
||||||
:nickserv-password oni:circe-nickserv-password)))
|
:nickserv-password oni:circe-nickserv-password)))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
* Clean-up the channel buffers further
|
|
||||||
|
|
||||||
When chatting with people in an IRC channel, there really isn't much
|
|
||||||
need for any information in the mode-line. This is mostly because
|
|
||||||
the channel I'm most active on always has its own window. Visual
|
|
||||||
line mode is very handy to have in chats, in case I type very long
|
|
||||||
lines. And the =wrap-prefix= is set so that when I do type long lines,
|
|
||||||
they are filled nicely to the circe prompt.
|
|
||||||
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
|
||||||
(defun oni:remove-mode-line ()
|
|
||||||
(setq mode-line-format nil))
|
|
||||||
|
|
||||||
(defun oni:set-circe-prompt-wrap-prefix ()
|
|
||||||
(setq wrap-prefix " "))
|
|
||||||
|
|
||||||
(add-hook 'circe-channel-mode-hook #'oni:remove-mode-line)
|
|
||||||
(add-hook 'circe-channel-mode-hook #'oni:set-circe-prompt-wrap-prefix)
|
|
||||||
(add-hook 'circe-channel-mode-hook 'visual-line-mode)
|
|
||||||
#+END_SRC
|
|
||||||
|
|
||||||
* Show #mowedline in a frame without minibuffer
|
* Show #mowedline in a frame without minibuffer
|
||||||
|
|
||||||
When I'm chatting on #mowedline I do so in a separate small window.
|
When I'm chatting on #mowedline I do so in a separate small window.
|
||||||
|
|
|
@ -45,6 +45,27 @@ separately when lui is loaded, not when circe is loaded.
|
||||||
(add-hook 'lui-mode-hook #'oni:set-circe-margin-width)
|
(add-hook 'lui-mode-hook #'oni:set-circe-margin-width)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
* Clean-up the channel buffers further
|
||||||
|
|
||||||
|
When chatting with people in an IRC channel, there really isn't much
|
||||||
|
need for any information in the mode-line. This is mostly because
|
||||||
|
the channel I'm most active on always has its own window. Visual
|
||||||
|
line mode is very handy to have in chats, in case I type very long
|
||||||
|
lines. And the =wrap-prefix= is set so that when I do type long lines,
|
||||||
|
they are filled nicely to the circe prompt.
|
||||||
|
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(defun oni:remove-mode-line ()
|
||||||
|
(setq mode-line-format nil))
|
||||||
|
|
||||||
|
(defun oni:set-lui-prompt-wrap-prefix ()
|
||||||
|
(setq wrap-prefix " "))
|
||||||
|
|
||||||
|
(add-hook 'lui-mode-hook #'oni:remove-mode-line)
|
||||||
|
(add-hook 'lui-mode-hook #'oni:set-lui-prompt-wrap-prefix)
|
||||||
|
(add-hook 'lui-mode-hook 'visual-line-mode)
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
* Provide the right feature
|
* Provide the right feature
|
||||||
|
|
||||||
In order to be able to use =(require 'lui-init)= we must first
|
In order to be able to use =(require 'lui-init)= we must first
|
||||||
|
|
Loading…
Reference in a new issue