Skip to content

Conversation

@nuffin
Copy link

@nuffin nuffin commented Aug 1, 2025

Since I always start multiple vim instances without arguments, I want to know which directory each vim process is in, so I composed a shell function as:

vimc()
{
    /bin/bash -c 'exec -a "vim (in $(basename "$PWD"))" vim "$@"'
}

Then, the vim process will show as vim (in /path/to/blah/blah) in the output of the ps command. But the vim-delve plugin does not work with it because the cache directory is not found, so I fixed it as shown in this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant