4

GitHub - antonmedv/walk: Terminal file manager

 1 year ago
source link: https://github.com/antonmedv/walk
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

🥾 walk

walk demo

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
snap install walk
pkg_add walk
go install github.com/antonmedv/walk@latest

Or download prebuild binaries.

Put the next function into the .bashrc or a similar config:

Bash/Zsh Fish PowerShell
function lk {
  cd "$(walk "$@")"
}
function lk
  set loc (walk $argv); and cd $loc;
end
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 Exit with cd
Ctrl+C Exit without cd
/ Fuzzy search
dd Delete file or dir

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

export EDITOR=vim

Preview mode:

Walk Preview Mode

Delete file or directory:

Walk Deletes a File

Command-line options

--icons display icons

Install Nerd Fonts to get the icons to render properly.

Walk Icons Support

License

MIT


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK