New answers tagged

3 votes

Avoiding name conflicts in ~/.config/nvim/lua/

Most configs I've seen handle this by putting a my directory inside the lua directory. This would allow you to do: require("my.telescope")
heygarrett's user avatar
0 votes

How do I open an existing file in a floating window?

instead of vim.cmd(":edit catalog.txt") you could use vim.cmd(":read catalog.txt")
DrGo's user avatar
  • 101
1 vote
Accepted

How to exclude a specific buffer from the BufEnter autocmd group?

So I found a solution which is to use the BufRead event, which doesn't affect dashboard for some reason. return { "your/plugin", event = "BufRead", }
Nias26's user avatar
  • 11
0 votes

How to exclude a specific buffer from the BufEnter autocmd group?

I would put a condition in the autocmd command: For Startify I would do: augroup NVIMCMP autocmd! autocmd BufEnter * if &filetype!=#'startify' | MyCommand | endif augroup END For Dashboard I ...
Vivian De Smedt's user avatar

Top 50 recent answers are included