From 6f4e11b2a5b46366c3edbd356af5c1306b3dc253 Mon Sep 17 00:00:00 2001 From: Anton Medvedev Date: Fri, 21 Jun 2024 15:39:03 +0200 Subject: [PATCH] Update README.md --- README.md | 51 ++++++++++++++++++++++++++++----------------------- 1 file changed, 28 insertions(+), 23 deletions(-) diff --git a/README.md b/README.md index d133b01..831f6fc 100644 --- a/README.md +++ b/README.md @@ -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. @@ -117,9 +96,35 @@ No additional setup is required. 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