Navigating Projects

You can navigate the directories of your project using find files, as we have seen with opening a file. This works well when adding individual files as you work on them. You can then switch between these files using buffer commands, SPC b

Spacemacs - Buffer menu

Neotree - Visualise your project structure

You can easily view your project structure and navigate your project files with Neotree.

Show files and directories as a navigable tree in a buffer. Spacemacs uses a pop-up buffer to the left hand side of the frame to display neotree.

Toggling open the neotree buffer will show the directory of the current buffer.

Opening the neotree project root will show the directory list for the project that the current buffer is part of.

Spacemacs Major mode Emacs Evil Command Description
SPC f t , f t neotree-toggle Show / hide neotree buffer
SPC p t neotree-find-project-root Show project root in neotree
SPC 0 select-window-0 Switch to open neotree buffer


Spacemacs Shortcuts in Neotree Buffer

Press ? in the neotree buffer to see the available keybindings to control neotree

Spacemacs Neotree Key Hints

results matching ""

    No results matching ""