aboutsummaryrefslogtreecommitdiff
path: root/vimrc
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2020-01-25 19:14:58 +0000
committerJuan J. Martinez <jjm@usebox.net>2022-05-29 22:57:29 +0100
commitba42732cce73dadfe09549e58cd8ce9031c9efa9 (patch)
treeb0f7feb624cbd98519bd9b03d44e15eac641806f /vimrc
parent7e540bfe0e5b3d605b456aa3a22efdf370b9b9f4 (diff)
downloaddotnvim-ba42732cce73dadfe09549e58cd8ce9031c9efa9.tar.gz
dotnvim-ba42732cce73dadfe09549e58cd8ce9031c9efa9.zip
Make active mode nicer
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc11
1 files changed, 2 insertions, 9 deletions
diff --git a/vimrc b/vimrc
index db9e53a..4f4fb64 100644
--- a/vimrc
+++ b/vimrc
@@ -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