Skip to content

feat(zshrc): preview config for FZF command searching - #10

Open
anaverage-enri wants to merge 1 commit into
mainfrom
feat/preview-for-fzf-command-search
Open

feat(zshrc): preview config for FZF command searching#10
anaverage-enri wants to merge 1 commit into
mainfrom
feat/preview-for-fzf-command-search

Conversation

@anaverage-enri

Copy link
Copy Markdown
Owner

Summary

This pull request updates the .zshrc configuration to improve the preview behavior for FZF when searching command history with Ctrl-R. It adds a custom preview setup for history entries, making the preview more relevant and user-friendly.

FZF Ctrl-R Preview Improvements:

  • Added a custom preview for FZF_CTRL_R_OPTS that displays the selected history entry using echo, sets the preview window to appear above with wrapping, and allows toggling the preview with ctrl-/. This replaces the default file-based preview, which was not useful for history entries.

@anaverage-enri anaverage-enri self-assigned this Aug 8, 2026
@anaverage-enri anaverage-enri added the enhancement New feature or request label Aug 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant