mhinz / mhinz/vim-startify

A way to specify padding for each line where startify commands go.

Open
#496 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vim Script
Stars
5.4k
Forks
181
PR merge metrics
No merged PRs in 30d

Description

Adding a way to specify custom padding for each entry in startify buffer can help arrange items in a way that looks more organized & hierarchical.

I think this would require adding a way to pass "pad" for ``type:"commands"`` and ``type:function('')``. The padding would be added to left of ``[]``, and cursor will jump to appropriate x-position of ``[]`` when navigating up/down the list.

Thanks!

Contributor guide

Open the contributing guide

Research direction

Start by locating the code that handles startify entries of type "commands" and type function entries, then trace how their lines are rendered and how up/down navigation chooses the cursor position. Done means both entry types accept custom padding, the padding appears before the keybinding, and navigation places the cursor at the keybinding's x-position.

Written by the indexing model from the issue text.

Assessment

Tech stack
vim
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.