Skip to content

Commit

Permalink
basics: change project root with autocompletion
Browse files Browse the repository at this point in the history
  • Loading branch information
practicalli-johnny committed May 27, 2024
1 parent 796abee commit b92091c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
- intro: add :help news to features page
- basics: add visual line and block commands
- clojure: `"Cp` pastes result of last Conjure evaluation
- basics: change project root with autocompletion

### Changed
- ci: spell lychee & repository trufflehog linters warn only (false positives)
Expand Down
12 changes: 12 additions & 0 deletions docs/neovim-basics/navigation.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,3 +158,15 @@ Navigate within the current file or globally using file marks.
> AstroNvim user config enables `incsearch` incremental search and `hlsearch` to highlight every search match

## Projects

++colon++ ++"c"++ ++"d"++ followed by a path changes the root directory for Neovim.

++tab++ completion simplifies typing the new path of the root directory.

![AstroNvim project root Autocompletion](https://github.com/practicalli/graphic-design/blob/live/editors/neovim/astronvim/astronvim-project-change-directory-completion-light.png?raw=true#only-light){loading=lazy}
![AstroNvim project root Autocompletion](https://github.com/practicalli/graphic-design/blob/live/editors/neovim/astronvim/astronvim-project-change-directory-completion-dark.png?raw=true#only-dark){loading=lazy}

!!! HINT "AstroNvim rooter"
AstroNvim has a built-in project root detection utility that updates the current working directory automatically.

0 comments on commit b92091c

Please sign in to comment.