Skip to content

Commit

Permalink
basics: set directory root approaches
Browse files Browse the repository at this point in the history
  • Loading branch information
practicalli-johnny committed Jun 2, 2024
1 parent b92091c commit 5124020
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
- basics: add visual line and block commands
- clojure: `"Cp` pastes result of last Conjure evaluation
- basics: change project root with autocompletion
- basics: set directory root approaches

### Changed
- ci: spell lychee & repository trufflehog linters warn only (false positives)
Expand Down
8 changes: 8 additions & 0 deletions docs/neovim-basics/file-buffer-window-tab.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@ Use [Neo-tree.nvim](#using-neo-tree) to visually navigate and manage files using

Use [Telescope](#telescope) to select files, typing a name narrows the file list.

!!! HINT "Set root directory in Neovim"
All file commands respect the currently set directory root for Neovim.

The root is set to the current directory when opening a file.

`:cd ~/new/directory/path` will change the current root to the new path.

++period++ in Neotree sets the root to the current directory (parent directory if on a file)

### Using Neo-tree

Expand Down

0 comments on commit 5124020

Please sign in to comment.