On 28 Aug 2011, Vegard Øye wrote:
Responding to an older thread: Evil commit fb86c91 adds the customization variable `evil-mode-line-format', which governs the position of the mode line tag. If the variable is set to the value `before', Evil indicates the current state before the mode list instead of after it:
(setq evil-mode-line-format 'before)
Internally, this is done by altering the variable `mode-line-position'. I don't know how robust it is, but if we don't encounter any problems, we might make it the default.
This should be quite robust and it's done by sml-modeline-mode, too. Although it's not really fitting in as it's no position indicator. If you want to shift it all the way left you can use this: (setq-default mode-line-format (cons '(evil-mode ("" evil-mode-line-tag)) mode-line-format)) To remove the original tag (if you use the 'after evil-mode-line-format): (delete 'evil-mode-line-tag global-mode-string) ('before format) (delete 'evil-mode-line-tag mode-line-position) As the mode-line-format var is already there (and the above is hacky) maybe allow nil and treat it as "evil won't add it on its own to the mode line"? Michael