Skip to content

Instantly share code, notes, and snippets.

@jorgenschaefer
Created March 13, 2016 21:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jorgenschaefer/140201eee197349e5f13 to your computer and use it in GitHub Desktop.
Save jorgenschaefer/140201eee197349e5f13 to your computer and use it in GitHub Desktop.
best mode line
(setq-default mode-line-format
`(""
" %b"
(:eval
(if (and buffer-file-name
(buffer-modified-p))
"*"
" "))
" %l"
(column-number-mode
",%c")
" "
(vc-mode
("" vc-mode " "))
(pyvenv-virtual-env-name
("venv:" pyvenv-virtual-env-name " "))
(projectile-mode
(:eval (format "prj:%s " (projectile-project-name))))
(which-func-mode
("" which-func-format " "))
tracking-mode-line-buffers
))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment