telescope.nvim icon indicating copy to clipboard operation
telescope.nvim copied to clipboard

Allow hiding column numbers in `live_grep` picker

Open Imberflur opened this issue 2 years ago • 3 comments

Is your feature request related to a problem? Please describe. When using live_grep the column numbers can sometimes be unnecessary visual clutter for me. However, as far as I've been able to find the only option available for toggling them off is disable_coordinates which also removes line numbers.

I might just be missing something though! I've just started trying out telescope.

Describe the solution you'd like A way to configure just column numbers to be disabled.

Describe alternatives you've considered Maybe there would be some way to allow the user to provide a custom function that performs the formatting of line/column numbers? Similar to the path_display option?

Imberflur avatar Mar 13 '23 04:03 Imberflur

I managed to hack in a disable_column here https://github.com/Imberflur/telescope.nvim/commit/b370779edd9f8327999d3bc3d1316a135b18b68a but I don't know if this approach is ideal since this then has some overlap with the functionality of disable_coordinates.

Imberflur avatar Mar 13 '23 04:03 Imberflur

Hi! I just realized I'm still using this. If there is interest, I would be willing to work on making this ready for a PR.

Imberflur avatar Aug 21 '24 03:08 Imberflur

This PR will consolidate a lot of the logic of displaying filepaths and lnum/cols for any picker that displays these https://github.com/nvim-telescope/telescope.nvim/pull/3200

I would at least wait until that is merged and then we can revisit this.

jamestrew avatar Aug 21 '24 03:08 jamestrew