]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
vimrc: Display current character under cursor in statusline.
authorSimon Ruderich <simon@ruderich.org>
Sat, 27 Nov 2010 13:43:33 +0000 (14:43 +0100)
committerSimon Ruderich <simon@ruderich.org>
Sat, 27 Nov 2010 13:43:33 +0000 (14:43 +0100)
vimrc

diff --git a/vimrc b/vimrc
index a5ee192ff3e140e6567e8f31ff89c35778d41722..1dfc91956094d9af1abefc371e1a5e02c5cb44e5 100644 (file)
--- a/vimrc
+++ b/vimrc
@@ -179,6 +179,7 @@ if has('statusline')
 
     " on the right
     set statusline+=%=                " right align
+    set statusline+=0x%-8B\           " current character under cursor as hex
     set statusline+=%-12.(%l,%c%V%)\  " line number (%l),
                                       " column number (%c),
                                       " virtual column number if different