You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the addition of layout.title_position, it would be nice to have a separate option to control the alignment of the filename as well.
Something like layout.filename_position would allow users to choose the alignment of both elements separately, while preserving the current default behavior for backward compatibility.
[triage-bot] REPRODUCED: Reproduced on origin/main. Branch: triage-bot/issue-910.
Not configurable. Preview window title (the filename) is hardcoded title_pos = 'left' at lua/fff/picker_ui/preview_manager.lua:131 (file path title), :221 (Preview placeholder) and lua/fff/layout.lua:429 (initial preview window). layout.title_position from #909 only touches the prompt/list title.
require('fff').setup({ layout= { title_position='center', filename_position='center' } })
-- :lua require('fff').find_files()-- expected: path on preview top border centered-- actual: path always glued to left corner, filename_position ignored
Adding layout.filename_position ('left' | 'center' | 'right'), default 'left', next to title_position. Same validation/fallback as title_position.
Activity
gustav-fff commentedon Oct 8, 2026
[triage-bot] REPRODUCED: Reproduced on
origin/main. Branch:triage-bot/issue-910.Not configurable. Preview window title (the filename) is hardcoded
title_pos = 'left'atlua/fff/picker_ui/preview_manager.lua:131(file path title),:221(Previewplaceholder) andlua/fff/layout.lua:429(initial preview window).layout.title_positionfrom #909 only touches the prompt/list title.Adding
layout.filename_position('left' | 'center' | 'right'), default'left', next totitle_position. Same validation/fallback astitle_position.Working on fix on
triage-bot/issue-910.Honk-Honk 🪿
fix: add layout.filename_position option (#910)
fix: add layout.filename_position option (#910) (#911)
fix: add layout.filename_position option (dmtrKovalenko#910) (dmtrKov…