Close dashboard upon selecting file from :Telescope find_files #2906
Answered
by
drowning-cat
a-clean-kitchen
asked this question in
Q&A
Replies: 1 comment 2 replies
-- repro.lua
vim.env.LAZY_STDPATH = ".repro"
load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()
require("lazy.minit").repro({
spec = {
{
"folke/snacks.nvim",
opts = {
dashboard = {
enabled = true,
},
},
},
{
"nvim-telescope/telescope.nvim",
version = "*",
dependencies = {
"nvim-lua/plenary.nvim",
{ "nvim-telescope/telescope-fzf-native.nvim", build = "make" },
},
},
},
}) |
2 replies
Answer selected by
a-clean-kitchen
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Does anyone have a sane way to go to a file from telescope that automatically closes the dashboard and drops me in my new buffer (with the file I've picked) or am I not experiencing normal Dashboard behavior?
Desired flow:
:Telescope find_files<CR>to go to it (as I normally would from literally any other buffer)I build my nvim config using nix/nixvim, but this is all of my dashboard config:
Any and all help would be appreciated!
P.S. I have gone through other discussions/issues for the better part of an hour and half now to no success, so i'm sorry if I've missed someone's post that solves this exact issue 🙏 😭
All reactions