Questions tagged [telescope.nvim]

22 questions
9
votes
4 answers

How to make Telescope ignore files inside node_modules?

I'm new in the VIM / NEOVIM world so I probably am doing something else wrong, but from the docs it says that Telescope will ignore all the files registered in the .gitignore file, which is definitively there but it still searches in node_modules So…
Daniel Rodríguez Meza
  • 1,167
  • 1
  • 8
  • 17
7
votes
1 answer

How to stop Telescope.nvim from changing directories when a file is opened

I don't like this behavior. I want to always anchor myself in the root folder of my project however plugins like Telescope (or FZF) keep changing the folder on me. How can I stop this? thanks
Jeff Saremi
  • 2,674
  • 3
  • 33
  • 57
5
votes
2 answers

Override default settings in NvChad Nvim

I wish to change the layout_strategy for the telescope plugin from the NvChad default value of horizontal to vertical. This should be possible by setting layout_strategy = "vertical" somewhere... According to the NvChad docs I can override the…
LMB
  • 384
  • 2
  • 6
  • 18
5
votes
4 answers

How to include specific hidden file/folder in search result when using telescope.nvim?

I'm using neovim and Telescope as a finder (find_files, live_grep, file_browser), by default Telescope is ignoring hidden files and files included in .gitignore - how can I add exception (e.g. .gitlab-ci file/folder) to this list? so Telescope will…
Michu
  • 69
  • 1
  • 5
5
votes
2 answers

Telescope find_files finds garbage instead of wanted file

I am new to NeoVim and Telescope so I tried to use NvChad When I try to use :Telescope find_files and write whole name of file that exist only in one place in entire project - telescope instead of finding that one particular file shows me thousands…
Morph
  • 165
  • 2
  • 9
3
votes
0 answers

NvChad not showing colors correctly (mac os)

I've installed NvChad for NeoVim. Followed all instuctions as stated in docs and as I've seen on some youtube videos, but in my installation the colors look weird. Here is a short video of me trying to choose a theme: As you can see, I'm not able…
samiralibabic
  • 49
  • 1
  • 4
2
votes
1 answer

Telescope find files and live grep not work

I am trying to setup telescope with nvim on MacOS 13.2.1. I installed it using packer. I already installed all dependency that telescope needed. And still unable to show any result on find_files or live_grep search. Here my config in packer for…
2
votes
2 answers

How can I temporarily disable Netrw so I can have Telescope at startup?

In my current setup, if I enter neovim with nvim dir, instead of opening with Netrw, I get the :Telescope find_files prompt. To achieve that, I have to disable Netrw, or it opens in the background. Here's the configuration to achieve this: --…
itxp
  • 35
  • 1
  • 4
2
votes
3 answers

ignore named sub directories vim telescope

This question concerns telescope in vim. I can see any info as to the type of regex being used. With the following setting I can achieve to ignore node_modules only if I start the explorer at the root level where node_modules…
meteorBuzz
  • 3,110
  • 5
  • 33
  • 60
1
vote
1 answer

Issue on attach_mappings with Telescope find_files picker

I try to create a function with the Neovim Telescope plugin and find_files builtin picker to list my configuration files (in ~/.config/nvim/lua directory). But I have an issue to use a specific mapping (here defined with CTRL-e) after selecting an…
lcheylus
  • 1,217
  • 8
  • 21
1
vote
2 answers

Why did I need to install ripgrep and fd with homebrew before :checkhealth Telescope recognized the dependencies?

I'm just getting started with neovim, and had a tough time getting the Telescope plugin to start working correctly. I'm using packer as my plugin manager, and in my plugins.lua file, I had all the dependencies listed that Telescope needed, which…
jerfp
  • 417
  • 5
  • 13
0
votes
0 answers

I can't create folders/files with "telescope_file_browser" - E486: Pattern not found:

I'm new to the world of nvim and I've been trying to solve my problem for several days... To make it simple, I can't activate a create method of the "telescope_file_browser" plugin... That is to say, in my configuration file, I've mapped an "N" key…
Bomain
  • 1
0
votes
0 answers

How to setup ahmedkhalf/project.nvim so that recent files for project are displayed by default?

There is this code local on_project_selected = function() find_project_files(prompt_bufnr) end But I do not know how to change it to recent_project_files. I am using LazyVim.
rofrol
  • 14,438
  • 7
  • 79
  • 77
0
votes
1 answer

Telescope nvim not displaying results

I am trying to set up telescope with nvim and ubuntu 22.04 is windows wsl (windows 10 on an older dell laptop). I installed it using packer and it seems to install just fine and I can do ff and it pops up just fine but doesn't display…
user3331344
  • 728
  • 8
  • 23
0
votes
1 answer

telescope keybindings don't work in nvim-tree

Overview I'm using both telescope and nvim-tree in Neovim. I've noticed that my telescope keybindings to search for files don't work when I'm focused in the nvim-tree buffer. This is even more problematic since when I use nvim . to open the current…
Nick
  • 5,108
  • 2
  • 25
  • 58
1
2