From 0e2cc23d4984a7a3aaed2549079945c327b5299b Mon Sep 17 00:00:00 2001 From: kazukazuinaina Date: Wed, 5 Aug 2020 14:15:14 +0900 Subject: [PATCH] [add] short_path's doc in airline --- CHANGELOG.md | 1 + doc/airline.txt | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 620a04a4..3f0ecb35 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,6 +22,7 @@ This is the Changelog for the vim-airline project. - Other - Introduce Vim script static analysis using [reviewdog](https://github.com/reviewdog/action-vint) - Added multiple Vim versions to unit tests using Travis CI + - Added option to show short paths in the status line ## [0.11] - 2019-11-10 - New features diff --git a/doc/airline.txt b/doc/airline.txt index 36fb592e..167f471c 100644 --- a/doc/airline.txt +++ b/doc/airline.txt @@ -287,6 +287,10 @@ values): To force updating the tabline on mode changes, call `airline#check_mode()` in your custom statusline setting: `:set stl=%!airline#check_mode(winnr())` will correctly update the tabline on mode changes. + +* Display a short path in statusline: > + let g:airline_stl_path_style = 'short' +> ============================================================================= COMMANDS *airline-commands*