Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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!

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