Friday, July 8, 2011

Re: Vim statusline examples with screenshots?

Jason Timrod wrote:

> Hi all,
>
> I'm curious to know how people pimp their Vim statusline perhaps
> with useful information?  So far, the only thing I've added to it is the
> current git branch I'm on.  Yet I know there's probably other really
> cool bits of information I'm missing, besides the default..
>
> So, anyone prepared to show their statusline, preferably with a
> screenshot as well as the config for it?

Here is mine:

Screenshot: http://dominique.pelle.free.fr/pic/vim-statusline.png
vimrc: http://dominique.pelle.free.fr/.vimrc.html

Status line shows:
- buffer number/buffer count
- file name
- flags ([RO], etc.)
- file type
- file encoding + BOM
- file format (dos, unix, mac)
- spell language
- current function name
- name of syntax group under cursor
- utf-8 sequence under cursor (displayed for non ascii char only)
- Unicode code point of character under cursor (U+xxxx)
- cursor position (current line / total line count, column, % in file)

-- Dominique

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: