mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-07-28 16:34:31 +02:00
update doc example, clarify how to truncate string
This commit is contained in:
parent
c436592559
commit
9168b73411
@ -307,8 +307,9 @@ section.
|
|||||||
let g:airline_section_warning (ycm_warning_count, whitespace)
|
let g:airline_section_warning (ycm_warning_count, whitespace)
|
||||||
|
|
||||||
" here is an example of how you could replace the branch indicator with
|
" here is an example of how you could replace the branch indicator with
|
||||||
" the current working directory, followed by the filename.
|
" the current working directory (limited to 10 characters),
|
||||||
let g:airline_section_b = '%{getcwd()}'
|
" followed by the filename.
|
||||||
|
let g:airline_section_b = '%-0.10{getcwd()}'
|
||||||
let g:airline_section_c = '%t'
|
let g:airline_section_c = '%t'
|
||||||
<
|
<
|
||||||
==============================================================================
|
==============================================================================
|
||||||
|
Loading…
x
Reference in New Issue
Block a user