Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass --cmd-history instead of --history for interactive commands in vim #461

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

reneegyllensvaan
Copy link

Hey! Noticed that history navigation for interactive rg invocations via skim had either stopped working or not worked at all.

Found that it just wasn't putting anything in the history file, even though g:skim_history_dir was set, and followed it back to this.

This patch makes the vim plugin check if the -i flag is passed, and if so passes the history file as --cmd-history instead of --history. This seems to resolve the issue without breaking history for e.g. Buffers.

Have a good one! :)

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