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

image plugin messes up with telescope insert mode #196

Open
MikeLemo1 opened this issue Jul 11, 2024 · 2 comments
Open

image plugin messes up with telescope insert mode #196

MikeLemo1 opened this issue Jul 11, 2024 · 2 comments

Comments

@MikeLemo1
Copy link

MikeLemo1 commented Jul 11, 2024

when I have images enabled and try to search for something in a telescope preview e.g. files the first character i write always gets pushed infront of my cursor not allowing me to search right (unless i type the last character of what I try to search which is hard to do when you fuzzy find not being sure what you yourself want to search for fully) but does get back to work right when disabling the images preview.
Any idea why?

@3rd
Copy link
Owner

3rd commented Jul 18, 2024

Hey, does the telescope window overlap the buffer with the images?
If yes it should clear them if window_overlap_clear_enabled is on.

@MikeLemo1
Copy link
Author

Was offline for some internet problems now I'm back,

when starting telescope it hides the images and I noticed it does the mess up the user query with the telescope grep
<CMD>lua require'telescope.builtin'.grep_string{ shorten_path = true, word_match = '-w', only_sort_text = true, search = '' }<CR>
search rather than the file search

So even when I mess with the window_overlap_clear_enabled it still doesn't fix the problem forcing me to manually disable image my self with require("image").disable() before searching with telescope.

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

No branches or pull requests

2 participants