Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mysteryven/oil
Manage and navigate file system easily from your terminal!
https://github.com/mysteryven/oil
create-files delete-files-and-directories filesystem lazygit oil rename-files
Last synced: 24 days ago
JSON representation
Manage and navigate file system easily from your terminal!
- Host: GitHub
- URL: https://github.com/mysteryven/oil
- Owner: mysteryven
- License: mit
- Created: 2024-10-06T14:49:59.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-10-11T12:55:03.000Z (3 months ago)
- Last Synced: 2024-12-05T07:50:08.983Z (29 days ago)
- Topics: create-files, delete-files-and-directories, filesystem, lazygit, oil, rename-files
- Language: TypeScript
- Homepage:
- Size: 349 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
oil
Manage and navigate file system easily from your terminal!
![CleanShot 2024-10-07 at 22 28 20@2x](https://github.com/user-attachments/assets/4f77fca7-27b3-4a2a-8498-cc34be526ac8)
## Motivation
I usually miss `-p` when `mkdir foo/bar/baz` or use `touch` to create a file that directory doesn't exist. I want
to use the [oil]'s way to manage my file system anytime.## Install
```bash
npm install --global oil-terminal
```If you don't have npm yet, you can install the [node](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm).
## Usage
#### Start
```bash
oil
```#### Exit
Press `q`.
#### Navigate
- `` / `k`: Move up.
- `` / `j`: Move down.#### Add file or directory
Press `a`, if the string ends with `/`, it will add a directory, otherwise it will add a file.
Then press `` to confirm.
#### Delete file or directory
Press `d`, then press `y` to confirm
#### Move to parent directory
Press `-`.
#### Move to child directory
Press `=`
## Credits
Really inspired by [oil]!
Any feedback is welcome!
[oil]: https://github.com/stevearc/oil.nvim