diff options
author | Anton Khirnov <anton@khirnov.net> | 2021-12-28 14:19:44 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2021-12-28 14:19:44 +0100 |
commit | 1707bf01db3c52ca979a4a33a49b4dd711aaa5ba (patch) | |
tree | ee880cae858b4f67b65189dab8492a30c2efa18d /vim/vimrc | |
parent | b84528043da0da870eccde11380b1234441ccc29 (diff) |
vimrc: highlight the modified flag in statusline
Diffstat (limited to 'vim/vimrc')
-rw-r--r-- | vim/vimrc | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -44,8 +44,13 @@ set ttymouse=sgr set clipboard= " statusline -" path [Help][Preview][RO][+][ftype] -set statusline=%(%f\ %h%w%r%m%y\ %=\ %1*[%{winnr()}]%*%) +" +" colors: +" User1: window number +" User2: modified flag +" +" path [Help][Preview][RO][+][ftype] \\// [window number] +set statusline=%(%f\ %h%w%r%2*%m%*%y\ %=\ %1*[%{winnr()}]%*%) " divider between left and right-aligned bits set statusline+=%= " line,byte column[-virtual column] |