Skip to content

how to not show the current directory prefix when filtering on a workspace #289

@ashish10alex

Description

@ashish10alex

Hi, firstly thanks for creating this plugin. I was using the following command to use the extension, it works as expected however, it adds a prefix to show the directory it is filtering. Although this can be useful, for me it takes up a lot of space and interferes with the telescope filtering when I try to search something that matches the folder name. Is it possible to remove the folder name with some config option ?

Command I am using

vim.keymap.set('n', '<leader>f', ':Telescope frecency workspace=CWD path_display={"filename_first"} theme=ivy<CR>', {})

Output

CleanShot 2025-01-06 at 22 33 04@2x

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions