Skip to content

Support for colors when using meow #135

@simonkir

Description

@simonkir

What I mean by that is having different colors depending on the current state when using meow, similar to how telephone-line looks when using evil.

I personally customized telephone-line-modal-face in my config to achieve what I'm asking for by doing this:

(defun telephone-line-modal-face (active)
    (cond ((not active) 'mode-line-inactive)
          ((and meow-normal-mode (region-active-p)) 'telephone-line-evil-visual)
          (meow-normal-mode 'telephone-line-evil-normal)
          (meow-insert-mode 'telephone-line-evil-insert)
          (meow-motion-mode 'telephone-line-evil-emacs)
          (meow-keypad-mode 'telephone-line-evil-operator)
          (meow-beacon-mode 'telephone-line-evil-replace)))

(As a side note: There actually is no visual state in meow. I just have that in there because I like having a clear indication whether the region is currently active. This probably isn't desirable by other meow users.)

Maybe something along these lines could also be included in the original telephone-line-modal-face function to benefit other meow users?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions