File tree Expand file tree Collapse file tree 3 files changed +13
-12
lines changed
Expand file tree Collapse file tree 3 files changed +13
-12
lines changed Original file line number Diff line number Diff line change 1010 <a href="https://docs.rs/crate/fpick/">docs.rs</a>
1111</div >
1212
13+ ![ ] ( ./docs/img/screenshot1.png )
14+
1315## Installation
1416### Cargo
1517``` sh
@@ -30,22 +32,21 @@ Launch the interactive file picker by running `fpick`.
3032
3133Navigate with keyboard:
3234
33- - Up & Down to move between files and directories,
34- - Left to go up,
35- - Right to enter a directory.
36- - Type in the phrase of a filename to filter the list of files
37- - Enter to select a file, exit and print its path to stdout.
35+ - ` ↑ ` and ` ↓ ` to move between files and directories,
36+ - ` → ` to enter a directory.
37+ - ` ← ` to go up,
38+ - Type a phrase to filter the list of files
39+ - ` Enter ` to select a file, exit and print its path to stdout.
3840
3941## Examples
4042You can use it in combination with other commands, for example to print the selected file:
4143``` sh
4244cat ` fpick`
4345```
4446
45- Tired of typing ` ls ` and ` cd ... ` , over and over again,
47+ Tired of typing ` ls ` and ` cd ` , over and over again,
4648just to find a file in a deeply nested directory tree?
47- Use ` fpick ` to navigate through directories interactively.
48-
49+ Use ` fpick ` to navigate through directories interactively:
4950``` sh
5051cd ` fpick`
5152```
Original file line number Diff line number Diff line change @@ -18,10 +18,10 @@ impl App {
1818 std:: process:: exit ( 0 ) ;
1919 } else if last == "--help" {
2020 println ! ( "fpick - interactive file picker. Usage:" ) ;
21- println ! ( "fpick - to select a file in a current directory and return its path" ) ;
22- println ! ( "fpick <path> - to select a file starting from a specified directory" ) ;
23- println ! ( "fpick --version - to print version" ) ;
24- println ! ( "fpick --help - to print usage" ) ;
21+ println ! ( " `fpick` to select a file in a current directory and return its path" ) ;
22+ println ! ( " ` fpick <path>` to select a file starting from a specified directory" ) ;
23+ println ! ( " ` fpick --version` to print version" ) ;
24+ println ! ( " ` fpick --help` to print usage" ) ;
2525 std:: process:: exit ( 0 ) ;
2626 } else {
2727 self . starting_dir = trim_end_slash ( last. to_string ( ) ) ;
You can’t perform that action at this time.
0 commit comments