Show filetype and indentation info in statusline
44d30ccfadc8cd2406451460dd1ffe896d226c2f
1 parent
7c8ced9f
.vimrc
+1 -0
| 49 | 49 | set gdefault " Always use /g with %s/ |
|
| 50 | 50 | set colorcolumn=80 |
|
| 51 | 51 | set list |
|
| 52 | 52 | set listchars=tab:·\ ,eol:¬,trail:█ |
|
| 53 | 53 | set lazyredraw " Stop vim from freaking out all the time |
|
| 54 | + | set statusline=%<%f\ %h%m%r%=%y\ \ %-14(%{&sw}:%{&sts}:%{&ts}%)%-14.(%l,%c%V%)\ %P |
|
| 54 | 55 | ||
| 55 | 56 | if !has("nvim") |
|
| 56 | 57 | set nocompatible " Don't try to be compatible with vi |
|
| 57 | 58 | set ttyfast |
|
| 58 | 59 | set t_Co=256 |