diff options
author | Juan J. Martinez <jjm@usebox.net> | 2020-01-25 19:14:58 +0000 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2022-05-29 22:57:29 +0100 |
commit | ba42732cce73dadfe09549e58cd8ce9031c9efa9 (patch) | |
tree | b0f7feb624cbd98519bd9b03d44e15eac641806f /vimrc | |
parent | 7e540bfe0e5b3d605b456aa3a22efdf370b9b9f4 (diff) | |
download | dotnvim-ba42732cce73dadfe09549e58cd8ce9031c9efa9.tar.gz dotnvim-ba42732cce73dadfe09549e58cd8ce9031c9efa9.zip |
Make active mode nicer
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 11 |
1 files changed, 2 insertions, 9 deletions
@@ -63,19 +63,12 @@ function! StatusLine(current, width) if a:current let l:s .= crystalline#mode() . crystalline#right_mode_sep('') - else - let l:s .= '%#Crystalline#' - endif - let l:s .= ' %<%f%h%w%m%r ' - if a:current - let l:s .= crystalline#right_sep('', 'Fill') . ' %{fugitive#statusline()}' - else - let l:s .= ' %{fugitive#statusline()}' endif + let l:s .= '%#Crystalline# %<%f%h%w%m%r %{fugitive#statusline()}' let l:s .= '%=' if a:current - let l:s .= crystalline#left_sep('', 'Fill') . ' %{&paste ?"PASTE ":""}%{&spell?"SPELL ":""}' + let l:s .= ' %{&paste ?"PASTE ":""}%{&spell?"SPELL ":""}' let l:s .= crystalline#left_mode_sep('') endif if a:width > 80 |