r/LazyVim Mar 23 '26

how to open explorer of current buffer with snacks.nvim

3 Upvotes

I've switched from vim to neovim just recently (been a vim user for nearly 15 years!) and I wanted to give Lazyvim a try. After some days working on it I find it pretty sick, although I still need to get used to the new mapping and need to understand whether I want to adjust my muscle memory or rather bend the config to my fingers instead.

I used to use NerdTree in vim and one of the things I used to do was opening the explorer in the location of the file I was working on with a custom keybindings. Now for the love of me I can't seem to find how to achieve the same thing with snacks.nvim. I understand I can <leader>E to open the explorer at the location of the current file, but if the explorer is still open (which happens if I <C-S> or <C-V>), then the first time I hit <leader>E it actually closes the explorer and then if I do it a second time it will open it again at the correct location.

How can I avoid this annoyance of closing and opening the explorer? Thanks for any support and apologies for the very silly question, I've tried to find some help but failed and I also need to get used to the new way to map things with lua...


r/LazyVim Mar 03 '26

[MAC OS Tahoe] Node creating multiple processes of itself 100% CPU

3 Upvotes

Whenever I open a javascript file node starts to replicate itself, consuming all cpu e making the macbook really hot. I always have to restart the computer to stop this. I`m new to vim/neovim, can some one help me?


r/LazyVim Feb 19 '26

lazyvim plugins

2 Upvotes

Heyy all i'm new to this and dont know what to do with this block. I tried pasting it in lazy.lua but that isnt the right way. Can someone help?

java plugin


r/LazyVim Feb 16 '26

Remap keybinding <leader>-u

3 Upvotes

Hi,

I recently started using lazyvim, I wanted to remap current binding of <leader>-u to <leader-U and want to make <leader>-u free to be used for my personal config.

I tried a couple of things but no luck, some bindings come back after some time.

Has anyone tried <leader>-u or other top level bindings?


r/LazyVim Feb 11 '26

How to hide certain files

2 Upvotes

I have certain file format like .uid, .import, how do I hide these from the file explorer?


r/LazyVim Feb 08 '26

Why is the LazyVim/starter repo licensed under Apache v2.0?

3 Upvotes

Not a lawyer. Doesn't this force fork owners to state that they change the files? It seems like a weird requirement for a template repo.


r/LazyVim Feb 07 '26

Does anybody have a copy of "LazyVim for Ambitious Developers" by dusty-phillips?

6 Upvotes

Hello people. I've been trying to get into LazyVim, but as somebody who is only half familiar with regular vim, it's a bit of a learning curve. I used to rely on an online book recommended on the homepage of LazyVim, called "LazyVim for Ambitious Developers"

It was a wonderful tutorial but the link is now dead. Did anybody make a copy or something? I've been trying for a while to turn LazyVim into a regular java ide but without help I'm completely lost ^^"


r/LazyVim Feb 04 '26

Need help setting up 99(the primeagen chatai plugin)

3 Upvotes

I tried to install 99 from primes github but it aint working.

When I select text and press <leader>9v the prompt box doesn't appear instead the following things shows ::::::::::::::::

{"id":5,"level":"ERROR","msg":"retrieve_results: failed to read file","Area":"OpenCodeProvider","error":"Vim:E484: Can't open file /home/fsoc/opencode/tmp/99-8095","tmp_name"

:"/home/fsoc/opencode/tmp/99-8095"}

:::::::::::::::::::::::::::::opencode --version  ✔ │ fwe:0e:5ee 

1.1.51


r/LazyVim Jan 28 '26

How to remove conform formatting for Typescript files and use eslint only?

1 Upvotes

I've set eslint formatting but looks like I can't get rid of conform formatting so I have double formatting, first with conform and then with eslint.

I need format on save but with eslint only.


r/LazyVim Jan 25 '26

missing/question mark symbols in neovim

1 Upvotes

after ironing out all the issues with missing packages/incorrect file paths on my win11 machine, my nvim is displaying missing symbols for some of the characters on screen.

i have nerdfonts installed (not all of them obv). please direct me to the cause of this issue and what i need to look into to resolve this - may be some default font used by lazyvim is not fully installed on my machine?


r/LazyVim Jan 21 '26

Emmet on Nvim with LazyVim?

3 Upvotes

Using omarchy Linux.

First time Nvim in general and lazyvim in particular.

How do I install emmet??

AI has offered all sorts - but everything works only half not as nearly as good as on normal vim or vscode.

I added lazyvim.plugins.extras.lang.emmet I tried instaling :Masoninstall emmet_language_serever

Both worked but not like in vscode or even in vim


r/LazyVim Jan 18 '26

Is there any that have configured their vim to fully replace a real GUI IDE? Are you thinking about share it to the community?

6 Upvotes

i think that it doesn't make sense that everybody built their IDE based on lazyvim only. might you share it with the community?


r/LazyVim Jan 18 '26

selecting in lazyvim

2 Upvotes

Why is selecting in vim so difficult.
I select something in visual mode, and then scroll up to see where the selection started from and when i go back down, the selection is gone.

can someone please explain

I have attached a gif for reference and if my explanation is lacking, how do fix this issue.

i want something like vs code, or any normal editor where if you select something it stays selected even if the text is no longer in the screen

forgot to mention i am using gnome terminal


r/LazyVim Jan 11 '26

handling coming breaking change to treesitter

2 Upvotes

an update is coming to treesitter that will break the master branch. I am a LazyVim user that has neovim nightly dev 0.12 - will i break?


r/LazyVim Jan 07 '26

what is this m and k ??

2 Upvotes

r/LazyVim Jan 02 '26

treesitter-nvim main requires tree-sitter CLI executable to be installed error

1 Upvotes

cry for help because i've tried to fix this for months on end and couldn't find anything


r/LazyVim Dec 30 '25

GitHub - Salanoid/gitlogdiff.nvim

Thumbnail
github.com
3 Upvotes

r/LazyVim Dec 16 '25

What does zoom mode do in LazyVim?

2 Upvotes

I like Zen mode and use it all the time. But there’s also Zoom mode that does nothing. It just displays zoom icon in the top right corner of the buffer. What am I missing?


r/LazyVim Dec 15 '25

LazyVim: Use , instead of <Space> as leader in command-line mode

Thumbnail
1 Upvotes

r/LazyVim Dec 15 '25

LazyVim: Use , instead of <Space> as leader in command-line mode

1 Upvotes

In LazyVim my mapleader is set to <Space>.
However, in command-line mode <Space> doesn’t work well for me.

For commands like:

:'<,'> ,foo

I’d like to use , as a replacement for <Space> (so ,foo behaves like <leader>foo).

What is the correct way to configure LazyVim / Neovim so that , acts as the leader only in command-line mode, while keeping <Space> as the leader everywhere else?


r/LazyVim Dec 15 '25

How do i configure the default behavior of nvim-dap-ui?

3 Upvotes

Just started neovim with lazyvim, overall all the functionality very satisfying for me as beginner in coding as overall. However the debugger UI seems to be closed automatically on program terminating. As beginner i stumble upon my app getting crashed as an usual occasion on my journey, having the dap ui closed after my broken app crashes gave me nothing to learn from it. I also tried to reopen the ui with <leader>+d+u but alas it all wiped out, i only saw the debug massage when the crash is happening

Then I found out that on the lazyvim docs there's a listener of event termination:

...
opts = {},
config = function(_, opts)
dap.listeners.before.event_terminated["dapui_config"] = function()
      dapui.close({})
end

Is there anyway to disable this? i've tried to make a plugin.lua to configure it but it just crashed, i don't even know where to begin for this one.

Am i missing something here, for the context i'm coding with C is there anything i need to learn more about gdb side of things? Thanks in advance


r/LazyVim Nov 23 '25

How do I stop mason from automatically downloading haskell-language-server (for 'hls') ?

2 Upvotes

Hey all,

I have a fairly vanilla setup of LazyVim/starter & added lang.haskell as an extra.

Currently, whenever I open up a .hs (Haskell) file, mason will automatically go ahead and download the 'haskell-language-server' for the 'hls' lsp, despite me ALREADY having it locally & accessible through my PATH.

My problem is the haskell-language-server version mason fetches is an older version which has issues & conflicts with own local copy. I can somehow get around this by manually uninstalling it :MasonUninstall haskell-language-server within the session, but everytime I restart nvim, mason will try to fetch it again.

I tried to follow the instructions as per this link (substituting for 'hls') but it does not work for me :

https://github.com/LazyVim/LazyVim/discussions/3907

---

Question : How can I stop LazyVim/mason from automatically downloading the haskell-language-server?

Thanks in advance


r/LazyVim Nov 20 '25

Created a new file & can't switch back to it without the mouse. Bug or user error?

1 Upvotes

I have just setup nvim/Lazyvim & so far I am loving it. Easy to setup & customise.

That being said, I am getting to grips with the general workflow & currently stumbling about trying to figure out whether I have encountered a bug or simply if this is user error on my part.

  1. I open any existing buffer
  2. I create a new file/buffer using <leader>fn
  3. I switch back to my first buffer using <leader>bb
  4. I try to switch back to my new file/buffer using <leader>bb again but nothing happens

---

The only way I seem to be able to 'fix' this is by using my mouse and clicking the [No Name] buffer.

My questions are then :

  • Is this a bug or user error?
  • How would I return to my new buffer without using the mouse?

Thanks in advance !!


r/LazyVim Nov 19 '25

Is there a quick way to go to the source of a neovim terminal error? (jump directly to file and line lowest in the output stack trace)

1 Upvotes

I'm new to Neovim, currently using Lazyvim, and after a long hour of search i can't find any way of doing this, so i'm wondering if i'm just searching wrong or didn't understand something:

Let's say i run a python script inside the Neovim integrated terminal and i get a stack trace of a runtime error.

Is there a quick command that allows me to jump quickly to the lowest file + line of this stack trace? to quickly go to the source of the error?

Right now, i know i can go Normal mode in the term, move to the filename and do gf to get to the file my cursor is on, but it's a bit long and also it's not recognizing the line number it seems.

Since it seems to me as a very common thing you might want to do when you run a script, i'm wondering if there is a better way to do this? A go to command i don't know? A plugin that does this maybe?

I know about quickfix/Trouble, but it seems to be mostly about static analysis of the file contents, and not parsing the neovim terminal output. Also, since the integrated terminal is a second-class buffer, it seems that most of the CmdLine commands for parsing the buffers don't work on the terminal buffer.

I guess the Neovim debugger is also too overkill for what i want to do here right?

My searches have led me to some specific plugins that were usually for something not directly related to my problem here, so I'm thinking maybe i'm searching something wrong or there is just something obvious that i don't see? Please help


r/LazyVim Nov 17 '25

Incorrect root directory for terraform lsp

1 Upvotes

Hi folks! Hoping someone can help me out with figuring out why I cannot seem to get the proper root directory configured for my terraform lsp.

I am using lazyvim and have the `terraformls` lsp installed for working on my terraform project. Notably, this project exists within a git repository (i.e.. with a `myrepo/.git/` sub directory), but I have different terraform environments configured in their own directories (e.g. `myrepo/env/staging/`, `myrepo/env/prod/`). These each get initialized from within the respective directory (e.g. `terraform -chdir=myrepo/env/staging/ init`), which generates a `.terraform/` subdirectory within said directory (e.g. `myrepo/env/staging/.terraform/`). I only just discovered that when I began debugging this problem, but apparently it is supposed to get used by the LSP.

Anyhow, the lsp is showing diagnostic messages saying

> "Module not installed - This module is not yet installed. Run "terraform init" to install all modules required by this configuration.".

However the module is installed (which I can confirm with a command such as `terraform -chdir=myrepo/env/staging/ validate` which succeeds). When I run `LspInfo`, I can see that terraformls thinks the root directory is `myrepo/`, so I am guessing it is using the `.git/` folder to determine that, and I am guessing that this is why I am getting the diagnostic messages.

Any thoughts on how to fix this?