From 3236fe882230578e188eabf4a14d16e49c69f2a3 Mon Sep 17 00:00:00 2001 From: Tony Duckles Date: Tue, 22 Aug 2017 21:20:37 -0500 Subject: [PATCH] .vimrc: Use plain-text airline_mode markers --- .vimrc | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.vimrc b/.vimrc index b596e7f..a91f20e 100644 --- a/.vimrc +++ b/.vimrc @@ -126,6 +126,19 @@ set statusline+=%{strlen(&fenc)?&fenc:&enc},%{&ff}\ %y " file-encoding, format, set statusline+=\ %12.(%v,%l/%L%)\ \ %-4P " cursor position, % through file of viewport let g:airline_theme='solarized16' +let g:airline_mode_map = { + \ '__' : '-', + \ 'n' : 'N', + \ 'i' : 'I', + \ 'R' : 'R', + \ 'c' : 'C', + \ 'v' : 'V', + \ 'V' : 'V', + \ '' : 'V', + \ 's' : 'S', + \ 'S' : 'S', + \ '' : 'S', + \ } let g:airline_symbols_ascii = 1 " use plain ascii symbols if !exists('g:airline_symbols') let g:airline_symbols = {} -- 2.45.2