diff --git a/README.markdown b/README.markdown index 2f7ea4b..36c7aba 100644 --- a/README.markdown +++ b/README.markdown @@ -283,7 +283,7 @@ let g:airline_section_x = '%{PencilMode()}' If you don’t like the default indicators, you can specify different ones: ```vim -let g:pencil#mode_indicators = {'hard': 'h✎ ', 'soft': 's✎ ', 'off': '×✎ '} +let g:pencil#mode_indicators = {'hard': '✎ h', 'soft': '✎ s', 'off': '✎ ×',} ``` Note that `PencilMode()` will return blank for buffers in which _pencil_ diff --git a/plugin/pencil.vim b/plugin/pencil.vim index e837372..08f7e1a 100644 --- a/plugin/pencil.vim +++ b/plugin/pencil.vim @@ -122,9 +122,9 @@ en if !exists('g:pencil#mode_indicators') " used to set PencilMode() for statusline if s:unicode_enabled() - let g:pencil#mode_indicators = {'hard': 'h✎ ', 'soft': 's✎ ', 'off': '×✎ ',} + let g:pencil#mode_indicators = {'hard': '✎ h', 'soft': '✎ s', 'off': '✎ ×',} el - let g:pencil#mode_indicators = {'hard': 'hp', 'soft': 'sp', 'off': '',} + let g:pencil#mode_indicators = {'hard': 'ph', 'soft': 'ps', 'off': 'px',} en en