mhinz / mhinz/vim-startify

Startify Does Not Open Directory When Giving One as a Bookmark

Open
#500 1 comment 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

I am having an issue where I have given all of my bookmarks as directories, but when I select them `neovim` just opens an empty buffer. Does startify work with directories? If it helps here is my configuration.

```
----------------
--- Startify ---
----------------
-- Set the startify header.
plugin.startify_custom_header = {
'',
'',
' ██ ',
' ░░ ',
' ███████ █████ ██████ ██ ██ ██ ██████████ ',
' ░░██░░░██ ██░░░██ ██░░░░██░██ ░██░██░░██░░██░░██',
' ░██ ░██░███████░██ ░██░░██ ░██ ░██ ░██ ░██ ░██',
' ░██ ░██░██░░░░ ░██ ░██ ░░████ ░██ ░██ ░██ ░██',
' ███ ░██░░██████░░██████ ░░██ ░██ ███ ░██ ░██',
' ░░░ ░░ ░░░░░░ ░░░░░░ ░░ ░░ ░░░ ░░ ░░ ',
'',
'',
}

-- Set the bookmarked list.
plugin.startify_bookmarks = {
{ c = '~/.config' },
{ C = '~/dox/dev/misc/dotfiles' },
{ w = '~/dox/dev/core-software/working-projects' },
{ f = '~/dox/dev/core-software/finished-projects' },
}

-- Ser the list order.
plugin.startify_lists = {
{ type = 'files', header = { ' Most Recently Used' } },
{ type = 'bookmarks', header = { ' Bookmarks' } },
}
```

Contributor guide

Open the contributing guide

Research direction

Reproduce the empty-buffer behavior using the Startify configuration and directory bookmarks shown in the issue. Then trace how bookmark paths are opened and check the existing tests or documentation for directory handling. Done means directory bookmarks open their directories in Neovim, with a regression check if the project has a suitable test location.

Written by the indexing model from the issue text.

Assessment

Tech stack
vim
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.