5

How can I get rid of the state information of evil in the echo area? I've already displayed it in the status bar and there is no need to occupy the echo area.

xuhdev
  • 1,899
  • 14
  • 31
  • FWIW, it does not occupy the echo area as it's gone by the next time a command prints something. – wasamasa Dec 07 '16 at 07:37
  • 1
    @wasamasa Yes, but it freshes away the message I currently have... – xuhdev Dec 07 '16 at 10:32
  • 1
    How about commenting out line 112 of evil-states.el (current version as of 12/07/2016) -- i.e., comment out: :message "-- INSERT --" and if necessary byte-compile-file after it has been modified? Here is a link to the exact line of the source code: https://bitbucket.org/lyro/evil/src/f2648b841f9bcded8764ce63410065d2b8c5f856/evil-states.el?at=default&fileviewer=file-view-default#evil-states.el-112 – lawlist Dec 07 '16 at 16:36

1 Answers1

6

Here's the solution for insert state. You can apply the same idea to other states as you see fit.

(setq evil-insert-state-message nil)
justbur
  • 1,510
  • 9
  • 8