Drop column and line number from vim status line
dblume

dblume commited on 2024-03-18 09:45:37
Showing 2 changed files, with 4 additions and 4 deletions.


Don't think I've ever used status line's column
And saying "%X of T" was better than "%X = L/T".

This tightens up the status line.
... ...
@@ -114,8 +114,8 @@ set statusline+=\ %{Trim_brackets(&filetype)}
114 114
 set statusline+=\ %#StatusLineNC#
115 115
 set statusline+=\ %{&fileencoding?&fileencoding:&encoding}
116 116
 set statusline+=\[%{&fileformat}\]
117
-set statusline+=\ │\ %p%%\ =
118
-set statusline+=\ %l/%L\ :\ %c\ 
117
+set statusline+=\ │\ %p%%\ of
118
+set statusline+=\ %L\ 
119 119
 
120 120
 " Fast saving
121 121
 nmap <leader>w :w!<cr>
... ...
@@ -136,8 +136,8 @@ set statusline+=\ %{Trim_brackets(&filetype)}
136 136
 set statusline+=\ %#StatusLineNC#
137 137
 set statusline+=\ %{&fileencoding?&fileencoding:&encoding}
138 138
 set statusline+=\[%{&fileformat}\]
139
-set statusline+=\ │\ %p%%\ =
140
-set statusline+=\ %l/%L\ :\ %c\ 
139
+set statusline+=\ │\ %p%%\ of
140
+set statusline+=\ %L\ 
141 141
 
142 142
 set encoding=utf-8
143 143
 
144 144