TOOL » NEOVIM
Statusline
File name
Show only filename:
vim
expand('%:t')
Show relative path shortened (1 character per folder):
vim
pathshorten(fnamemodify(expand('%'), ':~:.'))
Show only filename:
expand('%:t')
Show relative path shortened (1 character per folder):
pathshorten(fnamemodify(expand('%'), ':~:.'))