Scope down or change root of the tree #1252
-
Pressing After I am done working in the upper directory I would like to "scope" the tree back into some other child directory. Basically I want to change the root directory to some other. I went through the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Here's a custom action I used to use: https://github.com/alex-courtis/arch/blob/c91322f51c41c2ace04614eff3a37f13e5f22a24/config/nvim/lua/nvt.lua#L9
|
Beta Was this translation helpful? Give feedback.
-
Alternative: If you want to change to a directory other than vim's current cwd you can try That allows you to change the root to a directory of your choosing using the cd action: |
Beta Was this translation helpful? Give feedback.
Alternative:
If you want to change to a directory other than vim's current cwd you can try
actions.change_dir.global = true
.That allows you to change the root to a directory of your choosing using the cd action:
<C-]>