diff options
author | Nick | 2022-12-31 14:18:14 +0000 |
---|---|---|
committer | GitHub | 2022-12-31 14:18:14 +0000 |
commit | c9ed42cdec95b67b0d0ed15218daff37358ca86f (patch) | |
tree | 99fd7a7233f24cdb80a855f670cef2f297a8fbcf /book/src | |
parent | 63dcaae1b9083396fb3faaef9eaa2421f7e48fb9 (diff) |
Add a status line element that shows just the basename of the file (#5318)
Diffstat (limited to 'book/src')
-rw-r--r-- | book/src/configuration.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/book/src/configuration.md b/book/src/configuration.md index 0890d283..a35482e6 100644 --- a/book/src/configuration.md +++ b/book/src/configuration.md @@ -97,6 +97,7 @@ The following statusline elements can be configured: | `mode` | The current editor mode (`mode.normal`/`mode.insert`/`mode.select`) | | `spinner` | A progress spinner indicating LSP activity | | `file-name` | The path/name of the opened file | +| `file-base-name` | The basename of the opened file | | `file-encoding` | The encoding of the opened file if it differs from UTF-8 | | `file-line-ending` | The file line endings (CRLF or LF) | | `total-line-numbers` | The total line numbers of the opened file | |