summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.vimrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
index 59ad0a5..9d325d5 100644
--- a/.vimrc
+++ b/.vimrc
@@ -41,6 +41,8 @@ set ruler " Display ruler with cursor positions
" Buffer, filename, line, total lines, column, ASCII value
"set statusline=[%n]\ %f\ %m\ %l/%L,%c\ ASCII:\ %3b
+"set statusline+=[%{strlen(&fenc)?&fenc:'none'}, " file encoding
+"set statusline+=%{&ff}] " file format
" maximum number of tabs to open
set tabpagemax=20