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

Wishlist #255

Closed
kkharji opened this issue Nov 17, 2020 · 36 comments
Closed

Wishlist #255

kkharji opened this issue Nov 17, 2020 · 36 comments

Comments

@kkharji
Copy link
Member

kkharji commented Nov 17, 2020

Here we can post ideas of features, improvement and new pickers.

Later we can further refine an idea and update progress on it or link it to a more detailed "enhancement/feature issue", or even reference the comment in a PR.

Try to leave discussions out of here, but if necessary or your have something in mind post it then mark your replies and mentions as out of scope to keep the Wishlist clean.

@kkharji kkharji pinned this issue Nov 17, 2020
@kkharji
Copy link
Member Author

kkharji commented Nov 17, 2020

Feature: combine pickers #213 . I agree with @wbthomason , I think its really useful in cases where you want to combine things like

  • quickfix + loclist
  • old_files + buffers
  • dotfiles + nvim + bin files ...

@kkharji
Copy link
Member Author

kkharji commented Nov 17, 2020

Enhancement: add additional parameter to determine the depth of a given cwd #176 . Useful when you want to set the cwd but you don't want to go further than 2 levels

@kkharji
Copy link
Member Author

kkharji commented Nov 17, 2020

Feature: Create a picker for vista. First suggested by tj in #138

@kkharji
Copy link
Member Author

kkharji commented Nov 17, 2020

Idea: with actions._goto_file_selection(prompt_bufnr, command) if no entry, instead of print("[telescope] Nothing currently selected") edit any way, sometime I'd like to create a file if it doesn't exists. If only I can get what is typed in the prompt I can make an opt :D

@tjdevries
Copy link
Member

documentation generator :)

@tamago324

This comment has been minimized.

@sharksforarms

This comment has been minimized.

@sunjon
Copy link
Contributor

sunjon commented Nov 20, 2020

A lot of the ideas here are relocated(prioritized?) existing issues.

The ability to scroll through the search results is a frequent pain for me. I don't think fuzzy finders are intended to filter results down to 5-10 items; Often the choice is offscreen due to sorting, and knowing it exists momentarily via a page-down, is enough for me to make the descision to edit the query further or press "down" a couple of times, as I already know further refinement wouldn't be that useful.

@weilbith
Copy link
Contributor

Yank history

@sunjon
Copy link
Contributor

sunjon commented Nov 20, 2020

Yank history

Yank history could be a wrapper around existing functionality in something like nvim-miniyank, but I personally don't think Telescope should do the legwork itself.

What could be possible is a vim-peekaboo-a-like, showing the contents of registers and possibly a couple of actions you can perform on them.

EDIT: registers finder now available via ("telescope.builtin").registers with a default Paste/Put() action.

@kkharji

This comment has been minimized.

@sharksforarms
Copy link

:Telescope colorscheme could display a preview with the selected scheme and the current bufffer

@weilbith
Copy link
Contributor

Allow to configure :drop as default action on files.

@clason

This comment has been minimized.

@sunjon
Copy link
Contributor

sunjon commented Nov 24, 2020

An autocommands finder would be practical:

[group] | [event] | [pattern] |  [commands..........]

semi-related to this:

  • the ability to pre-populate the query. Maybe with <cword> and such
  • the ability to refine the search with something to specify fields. For this to be possible, Telescope would have to have more of a concept of "fields" than the few finders that use a | delimiter. a cut like -f parameter perhaps.
  • If we were to introduce query parameters as mentioned above, perhaps notation like ! and ^ and $ would be useful, without the need for a full regex search

@cempassi
Copy link
Contributor

cempassi commented Nov 27, 2020

A digraph picker. See :digraph to see the available ones. Really useful for us in Europe or Japan. But that may more be in completion territory, so I'm not sure

@ZacharyRizer
Copy link

ZacharyRizer commented Nov 27, 2020

A wrapper or choice to use FZF as the default for things like find files and grep. I'm loving Telescope, but fzf is still quite a bit faster in my experience ( or maybe just more async to not have perceived freezing on big directory searches).

@kkharji

This comment has been minimized.

@ZacharyRizer

This comment has been minimized.

@kkharji

This comment has been minimized.

@clason
Copy link
Contributor

clason commented Nov 29, 2020

:messages? with actions for visual selecting lines for copying etc?

@sunjon
Copy link
Contributor

sunjon commented Dec 3, 2020

  • The autocmd preview shows everything in the group, then highlights the active selection,
    I think all highlights should be shown in a table, and 'preview-selection' jumps to the active result

  • A Finder for available/installed luarocks packages.

@aca
Copy link
Contributor

aca commented Dec 8, 2020

Feature Request

  • After :Telescope find_Files, select multiple files and open all in buffers / split / tab (simliar to fzf.vim)

@ndavidpsi
Copy link

  • Add :Telescope media_Files, it would search for files with media extensions (videos and images) and instead of opening the raw content of a file it would simply launch an external media player to load the file

@ndavidpsi
Copy link

  • Add :help Telescope

@s-zeng

This comment has been minimized.

@Conni2461

This comment has been minimized.

@elianiva
Copy link
Member

  • Add :Telescope media_Files, it would search for files with media extensions (videos and images) and instead of opening the raw content of a file it would simply launch an external media player to load the file

I would also love an option where if you open a binary file that's not supposed to be opened in neovim like png/jpg/webp, it will use xdg-open or just exits without opening anything. It's kinda annoying when I accidentally opened an image and it opens a buffer filled with those garbled weird texts.

@sharksforarms
Copy link

sharksforarms commented Dec 18, 2020

Snippet discover-ability: Using telescope to list available snippets and select one to expand (using completion source?)

@elianiva
Copy link
Member

elianiva commented Jan 3, 2021

  • Add :Telescope media_Files, it would search for files with media extensions (videos and images) and instead of opening the raw content of a file it would simply launch an external media player to load the file

I would also love an option where if you open a binary file that's not supposed to be opened in neovim like png/jpg/webp, it will use xdg-open or just exits without opening anything. It's kinda annoying when I accidentally opened an image and it opens a buffer filled with those garbled weird texts.

I think it would be really cool if telescope can use ueberzug as a previewer for image files, though it might get messed up if we jump between files too fast and the rendering might be slow on larger images. Other case is if we're trying to find an image, it will switch between files too quickly because with the current behaviour, the first item gets selected and showed in preview window. I'm thinking of not previewing the image unless you press a mapping that confirms you want to see the image.

Since ueberzug spawns a child window, the previewer doesn't need to be a terminal, it can be a regular buffer. I found an interesting repo that does this. https://github.com/heapslip/vimage.nvim
I've tried it myself and seeing Neovim "draws" an image blows my mind 😆 (technically ueberzug did it, but it draws it inside Neovim which I've never seen before).

image

I don't know how hard it is to implement, it's just a random thought at 1 AM because I couldn't sleep 😆

@ndavidpsi

This comment has been minimized.

@relnod

This comment has been minimized.

@windwp

This comment has been minimized.

@sethidden
Copy link

sethidden commented Jan 11, 2021

<CR> in :Telescope git_branches doesn't switch to the branch if it doesn't already exist in the output of git branch

eg.

$ git branch
* my_branch
   some_other

in nvim: :Telescope git_branches<CR> "select some branch that is not one of the two above and press CR

$ git branch 
* my_branch
   some_other
# nothing changed

However if you pressed <cr> on some_other in the finder, it'd check out normally

fzf-checkout.vim has two different actions - checkout to headless and checkout and track remote branch (enter and alt-enter respectively)
https://github.com/stsewd/fzf-checkout.vim#features

@quantum-booty
Copy link

Fuzzy search a programming language's function signatures and their doc strings. idk if this is in the realm of a language server but it would be a nice feature.

@Conni2461
Copy link
Member

Hey everybody,

we are closing the wishlist because it became a nightmare to manage.
We get bug reports and feature requests in the same issue and can't really chat about them because we tried to keep this issue as clean as possible. In addition, we also have a hard time knowing what feature requests are being worked on.

So we ask that you check to see if your request has been fulfilled, if not, check to see if an issue already exists, and if that's not the case either, open one using the new feature request template.

If you have questions about a telescope feature, you can reach us at gitter. We currently have many features and options undocumented and we are working on a way to generate vim documentation here #370.

@nvim-telescope nvim-telescope locked as too heated and limited conversation to collaborators Jan 11, 2021
@tjdevries tjdevries unpinned this issue Jan 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests