mirror of
https://github.com/vim-airline/vim-airline.git
synced 2024-11-26 10:13:42 +08:00
mode: Update doc, sort dict
This commit is contained in:
parent
f045452743
commit
68f5f1e50d
|
@ -36,6 +36,7 @@ function! airline#init#bootstrap()
|
||||||
call s:check_defined('g:airline_mode_map', {})
|
call s:check_defined('g:airline_mode_map', {})
|
||||||
call extend(g:airline_mode_map, {
|
call extend(g:airline_mode_map, {
|
||||||
\ '__' : '------',
|
\ '__' : '------',
|
||||||
|
\ 'c' : 'COMMAND',
|
||||||
\ 'i' : 'INSERT',
|
\ 'i' : 'INSERT',
|
||||||
\ 'ic' : 'INSERT COMPL',
|
\ 'ic' : 'INSERT COMPL',
|
||||||
\ 'ix' : 'INSERT COMPL',
|
\ 'ix' : 'INSERT COMPL',
|
||||||
|
@ -43,15 +44,14 @@ function! airline#init#bootstrap()
|
||||||
\ 'ni' : '(INSERT)',
|
\ 'ni' : '(INSERT)',
|
||||||
\ 'no' : 'OP PENDING',
|
\ 'no' : 'OP PENDING',
|
||||||
\ 'R' : 'REPLACE',
|
\ 'R' : 'REPLACE',
|
||||||
\ 'v' : 'VISUAL',
|
\ 'Rv' : 'V REPLACE',
|
||||||
\ 'V' : 'V-LINE',
|
|
||||||
\ 'c' : 'COMMAND',
|
|
||||||
\ '' : 'V-BLOCK',
|
|
||||||
\ 's' : 'SELECT',
|
\ 's' : 'SELECT',
|
||||||
\ 'S' : 'S-LINE',
|
\ 'S' : 'S-LINE',
|
||||||
\ '' : 'S-BLOCK',
|
\ '' : 'S-BLOCK',
|
||||||
\ 't' : 'TERMINAL',
|
\ 't' : 'TERMINAL',
|
||||||
\ 'Rv' : 'V REPLACE',
|
\ 'v' : 'VISUAL',
|
||||||
|
\ 'V' : 'V-LINE',
|
||||||
|
\ '' : 'V-BLOCK',
|
||||||
\ }, 'keep')
|
\ }, 'keep')
|
||||||
|
|
||||||
call s:check_defined('g:airline_theme_map', {})
|
call s:check_defined('g:airline_theme_map', {})
|
||||||
|
|
|
@ -174,10 +174,15 @@ values):
|
||||||
" or copy paste the following into your vimrc for shortform text
|
" or copy paste the following into your vimrc for shortform text
|
||||||
let g:airline_mode_map = {
|
let g:airline_mode_map = {
|
||||||
\ '__' : '-',
|
\ '__' : '-',
|
||||||
\ 'n' : 'N',
|
|
||||||
\ 'i' : 'I',
|
|
||||||
\ 'R' : 'R',
|
|
||||||
\ 'c' : 'C',
|
\ 'c' : 'C',
|
||||||
|
\ 'i' : 'I',
|
||||||
|
\ 'ic' : 'I',
|
||||||
|
\ 'ix' : 'I',
|
||||||
|
\ 'n' : 'N',
|
||||||
|
\ 'ni' : 'N',
|
||||||
|
\ 'no' : 'N',
|
||||||
|
\ 'R' : 'R',
|
||||||
|
\ 'Rv' : 'R',
|
||||||
\ 'v' : 'V',
|
\ 'v' : 'V',
|
||||||
\ 'V' : 'V',
|
\ 'V' : 'V',
|
||||||
\ '' : 'V',
|
\ '' : 'V',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user