0

I am using Spacemacs. So I have a Neotree pan that I open with Spc-f-t and that works fine. Then I can navigate down the tree to open a file with l and that will move the cursor from the Neotree pane to the opened file, which is in the adjacent pane. Then I can make edits in the org-mode file.

Now, I want to know if there is a key shortcut to jump from the org-mode file back to the Neotree pane? So that way I can move to the a subsequent file in the directory.

I checked the Spacemacs and the NeoTree documentation, but did not find any reference to going from an opened buffer back to the NeoTree pane. And that kind of makes sense, since the shortcuts of the opened pane (org-mode or otherwise) would dictate behavior. But I was wondering if there was a way to go back and forth between opened files and the Neotree pane.

I can use the Spc-f-t key twice to close the pane and reopen it. That will work. But I was wondering if there was a smoother way to do it.

1 Answer 1

1

I was able to find Neotree layer documentation in the develop branch documentation site for Spacemacs. The shortcut to jump to the neotree window is SPC 0.

To select the NeoTree window, press SPC 0. The NeoTree window always has the number 0 so it does not shift the current number of the other windows.

I assume this will work on the master branch as well, but have not tested it myself.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.