Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
antonmedv committed Jun 21, 2024
1 parent 7366c55 commit 6f4e11b
Showing 1 changed file with 28 additions and 23 deletions.
51 changes: 28 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,27 +72,6 @@ function lk() {

Now use `lk` command to start walking.

## Usage

| Key binding | Description |
|------------------|--------------------|
| `Arrows`, `hjkl` | Move cursor |
| `Enter` | Enter directory |
| `Backspace` | Exit directory |
| `Space` | Toggle preview |
| `Esc`, `q` | Exit with cd |
| `Ctrl+c` | Exit without cd |
| `/` | Fuzzy search |
| `dd` | Delete file or dir |
| `y` | yank current dir |

The `EDITOR` or `WALK_EDITOR` environment variable used for opening files from
the walk.

```bash
export EDITOR=vim
```

### Preview mode

Press `Space` to toggle preview mode.
Expand All @@ -117,9 +96,35 @@ No additional setup is required.

<img src=".github/images/images-mode.gif" width="600" alt="Walk Image Preview">

## Become a sponsor
## Usage

| Key binding | Description |
|------------------|--------------------|
| `Arrows`, `hjkl` | Move cursor |
| `Enter` | Enter directory |
| `Backspace` | Exit directory |
| `Space` | Toggle preview |
| `Esc`, `q` | Exit with cd |
| `Ctrl+c` | Exit without cd |
| `/` | Fuzzy search |
| `dd` | Delete file or dir |
| `y` | yank current dir |

## Configuration

The `EDITOR` or `WALK_EDITOR` environment variable used for opening files from
the walk.

```bash
export EDITOR=vim
```

Every line of code in my repositories πŸ“– signifies my unwavering commitment to open source πŸ’‘. Your support 🀝 ensures these projects keep thriving, innovating, and benefiting all πŸ’Ό. If my work has ever resonated 🎡 or helped you, kindly consider showing love ❀️ by sponsoring. [**πŸš€ Sponsor Me Today! πŸš€**](https://github.com/sponsors/antonmedv)
| Flag | Description |
|--------------|----------------------------|
| `--icons` | Show icons |
| `--dir-only` | Show dirs only |
| `--preview` | Start with preview mode on |
| `--fuzzy` | Start with fuzzy search on |

## License

Expand Down

0 comments on commit 6f4e11b

Please sign in to comment.