From 81c49292d3bd6198c36cb33db09aa51e3dde84ba Mon Sep 17 00:00:00 2001 From: Bailey Ling Date: Fri, 16 Aug 2013 14:57:36 +0000 Subject: [PATCH] add shortform into doc for easy copy/pasting --- doc/airline.txt | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/doc/airline.txt b/doc/airline.txt index 9ffa923..7d5cc26 100644 --- a/doc/airline.txt +++ b/doc/airline.txt @@ -68,7 +68,22 @@ values): let g:airline_powerline_fonts=0 < * define the set of text to display for each mode. > - let g:airline_mode_map = {} " see source for current list + let g:airline_mode_map = {} " see source for the defaults + + " or copy paste the following into your vimrc for shortform text + let g:airline_mode_map = { + \ '__' : '-', + \ 'n' : 'N', + \ 'i' : 'I', + \ 'R' : 'R', + \ 'c' : 'C', + \ 'v' : 'V', + \ 'V' : 'V', + \ '' : 'V', + \ 's' : 'S', + \ 'S' : 'S', + \ '' : 'S', + \ } < * define the set of filename match queries which excludes a window from having its statusline modified >