walk
所属分类:hotest
开发工具:GO
文件大小:0KB
下载次数:0
上传日期:2023-08-21 22:30:12
上 传 者:
sh-1993
说明: 终端文件管理器,
(Terminal file manager,)
文件列表:
LICENSE (1071, 2023-10-29)
etc/ (0, 2023-10-29)
etc/icons (6347, 2023-10-29)
go.mod (1068, 2023-10-29)
go.sum (8705, 2023-10-29)
icons.go (3439, 2023-10-29)
image.go (1371, 2023-10-29)
img/ (0, 2023-10-29)
img/1.png (543, 2023-10-29)
img/10.png (766, 2023-10-29)
img/11.png (766, 2023-10-29)
img/12.png (757, 2023-10-29)
img/13.png (689, 2023-10-29)
img/14.png (559, 2023-10-29)
img/15.png (697, 2023-10-29)
img/16.png (506, 2023-10-29)
img/17.png (585, 2023-10-29)
img/18.png (836, 2023-10-29)
img/19.png (838, 2023-10-29)
img/2.png (1011, 2023-10-29)
img/20.png (821, 2023-10-29)
img/21.png (768, 2023-10-29)
img/22.png (1097, 2023-10-29)
img/23.png (1110, 2023-10-29)
... ...
# walk
**Walk** — a terminal navigator.
Why another terminal navigator? I wanted something simple and minimalistic.
Something to help me with faster navigation in the filesystem; a `cd` and `ls`
replacement. So I build **walk**. It allows for quick navigation with fuzzy
searching, `cd` integration is quite simple. And you can open `vim` right from
the walk. That's it.
## Install
```
brew install walk
```
```
pkg_add walk
```
```
pacman -S walk
```
```
go install github.com/antonmedv/walk@latest
```
Or download [prebuild binaries](https://github.com/antonmedv/walk/releases).
Put the next function into the **.bashrc** or a similar config:
Bash/Zsh |
Fish |
PowerShell |
```bash
function lk {
cd "$(walk "$@")"
}
```
|
```fish
function lk
set loc (walk $argv); and cd $loc;
end
```
|
```powershell
function lk() {
cd $(walk $args)
}
```
|
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.
### Delete file or directory
Press `dd` to delete file or directory. Press `u` to undo.
### Display icons
Install [Nerd Fonts](https://www.nerdfonts.com) and add `--icons` flag.
### Image preview
No additional setup is required.
## Become a sponsor
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)
## License
[MIT](LICENSE)
近期下载者:
相关文件:
收藏者: