mirror of https://github.com/bobwen-dev/hunter
Rust project updates (#6)
* ignore `target` folder * Add link to rifle. * Add Cargo.lock in the repo Read here: https://doc.rust-lang.org/cargo/faq.html#why-do-binaries-have-cargolock-in-version-control-but-not-libraries * Fix typo * Fix path to symlink file * Fix typos
This commit is contained in:
parent
e63c0070ca
commit
903dfe3da9
|
@ -0,0 +1 @@
|
|||
target/
|
File diff suppressed because it is too large
Load Diff
10
README.md
10
README.md
|
@ -60,12 +60,12 @@ cargo build --release
|
|||
|
||||
This will create a binary in {source_dir}/hunter/target/release/hunter. If you want to call this like any other terminal app you have to put this binary in your path.
|
||||
|
||||
```ln -s {soure_dir}/hunter/targer/release/hunter /usr/bin/local/hunter```
|
||||
```ln -s {soure_dir}/hunter/targer/release/hunter /usr/local/bin/hunter```
|
||||
|
||||
This will link the the binary to your local bin file. You can call hunter from anywhere. To update repeate the process, but you will **not** need to redo the binary link.
|
||||
|
||||
## NOTE:
|
||||
hunter uses ranger's rifle to open files if rifle is in your $PATH. If it can't find rifle it uses xdg-open. It also uses ranger's scope.sh to generate previews for non-text files. A slightly modified version is included in the "extra" directory. Put it in your $PATH somewhere if you want previews for non-text files.
|
||||
hunter uses [ranger's rifle](https://github.com/ranger/ranger/blob/master/ranger/ext/rifle.py) to open files if rifle is in your $PATH. If it can't find rifle it uses xdg-open. It also uses ranger's scope.sh to generate previews for non-text files. A slightly modified version is included in the "extra" directory. Put it in your $PATH somewhere if you want previews for non-text files.
|
||||
|
||||
## Configuration
|
||||
hunter reads $XDG_CONFIG_HOME/hunter/config at startup. There are two options, which can be set. The configuration file is read asynchronously, so if it's not read by the time hunter starts drawing you will see its default configuration until the config file is read. Options can be set like this (default config):
|
||||
|
@ -97,12 +97,12 @@ By default hunter uses emacs style keybindings. If you use a QWERTY-like keyboar
|
|||
|n/p (evil: j/k) |move down/up |
|
||||
|N/P (evil: J/K) |5x move down/5x move up |
|
||||
|< |move to top |
|
||||
|> |mve to bottom |
|
||||
|> |move to bottom |
|
||||
|f/b (evil: h/l) |enter (run executable) |
|
||||
|S |search file |
|
||||
|Alt(s) |search next |
|
||||
|Alt(S) |search prev |
|
||||
|Ctrl(f) |filer |
|
||||
|Ctrl(f) |filter |
|
||||
|space |multi select file |
|
||||
|v |invert selections |
|
||||
|t |toggle tag |
|
||||
|
@ -161,7 +161,7 @@ By default hunter uses emacs style keybindings. If you use a QWERTY-like keyboar
|
|||
|Tab |complete |
|
||||
|F(n) |insert tab substitution |
|
||||
|Ctrl(d) |delete char |
|
||||
|Ctrl(b) |mvoe cursor left |
|
||||
|Ctrl(b) |move cursor left |
|
||||
|Ctrl(f) |move cursor right |
|
||||
|Ctrl(p)/Alt(p) |history up |
|
||||
|Ctrl(n)/Alt(n) |history down |
|
||||
|
|
Loading…
Reference in New Issue