Behavior of pressing <Enter> on a directory #689
-
I'm a bit confused about what exactly is happening when I highlight a directory and then press I found that I can use I'm using LazyVim in case that additional context is relevant. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi, I think you're essentially correct on everything. The behaviour when opening a file can be customized by defining your own I also use lazyvim, and I set |
Beta Was this translation helpful? Give feedback.
It tells neovim to open the directory, just like it does for files. I think the default is to open netrw, and in lazyvim it might be that neotree focuses on that directory, or something similar.