diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2019-08-22 13:46:00 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2019-08-22 13:46:00 +0200 |
commit | 7e306d22762ee679b2fe085bac6418b92f830447 (patch) | |
tree | 830249d4d3fab4f45b168be6a0778ae9713acc60 | |
parent | f5f242647ecdd375fbe65ab75d12d0994b2beeea (diff) |
.vimrc: add file encoding and format to statusline
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
-rw-r--r-- | .vimrc | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |