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

[Feature] Buffer 'live' preview #2481

Open
nikola-vukicevic opened this issue Apr 26, 2023 · 4 comments · May be fixed by #2946
Open

[Feature] Buffer 'live' preview #2481

nikola-vukicevic opened this issue Apr 26, 2023 · 4 comments · May be fixed by #2946
Labels
enhancement Enhancement to performance, inner workings or existent features

Comments

@nikola-vukicevic
Copy link

Is there an option (already), to show the actual contents of buffers when using "Telescope buffers"?

(Kinda like what fzf-lua is doing. I really can't seem to find a similar option with Telescope).

If there is no such option ATM, I'd like to make it a feature request. :)

Cheers!

@nikola-vukicevic nikola-vukicevic added the enhancement Enhancement to performance, inner workings or existent features label Apr 26, 2023
@jamestrew
Copy link
Contributor

I'm not super familiar with fzf-lua but trying out FzfLua buffers the preview looks pretty similar. Telescope is missing line numbers. Is that what you're referencing? Are there any other differences?

@nikola-vukicevic
Copy link
Author

I was referring to this:

  • Telescope showing the (last) saved version of the file:

Apr27::071624

  • fzf-lua showing the contents from the buffer:

Apr27::071756

@VitaliyR
Copy link

I've noticed it as well and it will be super cool to have it in telescope (show current modified buffer version instead of last saved - from the disk)

@rogeryk
Copy link

rogeryk commented Oct 3, 2023

I encountered this problem, it very confusing. I often edit some JSON files, and every time I format them, I have to save the file in order to display the correct content in the preview.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement to performance, inner workings or existent features
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants