Abbreviate Vim mode entries.

This commit is contained in:
Scott Wallace 2015-10-26 20:52:22 +00:00
parent aa1a43c12d
commit 93c73667d4

13
.vimrc
View file

@ -74,6 +74,19 @@ let g:lightline = {
\ 'modified': 'LightLineModified', \ 'modified': 'LightLineModified',
\ 'filename': 'LightLineFilename' \ 'filename': 'LightLineFilename'
\ }, \ },
\ 'mode_map': {
\ 'n' : 'N',
\ 'i' : 'I',
\ 'R' : 'R',
\ 'v' : 'V',
\ 'V' : 'V-L',
\ "\<C-v>": 'V-B',
\ 'c' : 'C',
\ 's' : 'S',
\ 'S' : 'S-L',
\ "\<C-s>": 'S-B',
\ '?': ' '
\ },
\ 'separator': { 'left': '', 'right': '' }, \ 'separator': { 'left': '', 'right': '' },
\ 'subseparator': { 'left': '>', 'right': '<' } \ 'subseparator': { 'left': '>', 'right': '<' }
\ } \ }