Skip to content
/ oil Public

Manage and navigate file system easily from your terminal!

License

Notifications You must be signed in to change notification settings

mysteryven/oil

Repository files navigation

oil

Manage and navigate file system easily from your terminal!

CleanShot 2024-10-07 at 22 28 20@2x

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

npm install --global oil-terminal

If you don't have npm yet, you can install the node.

Usage

Start

oil

Exit

Press q.

Navigate

  • <Keyup> / k: Move up.
  • <Keydown> / 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 <Enter> 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!