/docs/docs/using-onivim/working-with-files.md
https://github.com/onivim/oni2 · Markdown · 37 lines · 22 code · 15 blank · 0 comment · 0 complexity · 7b793c9e10fa9c176279fc1e5f19899d MD5 · raw file
- ---
- id: working-with-files
- title: Working with Files
- sidebar_label: Working with Files
- ---
- ## Navigating the File Explorer
- To change the current working directory, which will also update the file explorer root, you can use the `:cd` command - for example: `:cd ~/my/project`.
- ## Opening files
- ### QuickOpen
- Onivim 2 has a QuickOpen fuzzy-finder out-of-the-box, powered by [ripgrep](https://github.com/burntsushi/ripgrep).
- To access the QuickOpen fuzzy-finder, you can use:
- - __Windows / Linux:__ `Control+P`
- - __OSX__ `Command+P`
- ### `:e` command
- You can also use Vim's Ex-mode `edit` command to open a file - for example: `:edit ~/my/project/README.md`.
- > __NOTE:__ `:edit` can be abbreviated as `:e`.
- ## Saving files
- To save your changes, you can use the `:write` command.
- > __NOTE:__ `:write` can be abbreviated as `:w`
- If you want to save to another file, you can use the `:save` command, for example: `:sav ~/my/project/another-file.txt`.
- ## Navigating in opened windows
- By pressing `<C+TAB>` you can access the currently opened windows. Similar to open all files you can navigate through files.