mirror of
https://github.com/FliegendeWurst/tmux-thumbs.git
synced 2024-11-09 16:00:35 +00:00
Clean up
This commit is contained in:
parent
94b489ee94
commit
2bddac3773
10
README.md
10
README.md
@ -1,11 +1,3 @@
|
|||||||
# tmux-thumbs
|
# tmux-thumbs
|
||||||
|
|
||||||
A lightning fast version of tmux-fingers
|
A lightning fast version of tmux-fingers
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
a = a (1)
|
|
||||||
ab = a b (2)
|
|
||||||
abc = a b ca cb cc (5)
|
|
||||||
abcd = a b c da db dc dda ddb ddc ddd (10)
|
|
||||||
abcde = a b c d ea eb ec ed eea eeb eec eeda eedb eedc eedd (13)
|
|
||||||
|
@ -38,11 +38,6 @@ fn app_args<'a> () -> clap::ArgMatches<'a> {
|
|||||||
.help("Don't show duplicated hints for the same match")
|
.help("Don't show duplicated hints for the same match")
|
||||||
.long("unique")
|
.long("unique")
|
||||||
.short("u"))
|
.short("u"))
|
||||||
.arg(Arg::with_name("excluded")
|
|
||||||
.help("Excluded keys from the alphabet")
|
|
||||||
.long("excluded")
|
|
||||||
.short("e")
|
|
||||||
.takes_value(true))
|
|
||||||
.get_matches();
|
.get_matches();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -118,7 +113,6 @@ fn main() {
|
|||||||
match rustbox.poll_event(false) {
|
match rustbox.poll_event(false) {
|
||||||
Ok(rustbox::Event::KeyEvent(key)) => {
|
Ok(rustbox::Event::KeyEvent(key)) => {
|
||||||
match key {
|
match key {
|
||||||
Key::Char('q') => { break; }
|
|
||||||
Key::Esc => { break; }
|
Key::Esc => { break; }
|
||||||
Key::Enter => {
|
Key::Enter => {
|
||||||
let mut choosen = matches.first().unwrap();
|
let mut choosen = matches.first().unwrap();
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
/home/ubuntu/dev/tmux-thumbs/target/debug/tmux-thumbs -a qwerty -r -u
|
/home/ubuntu/dev/tmux-thumbs/target/release/tmux-thumbs -a qwerty -u
|
||||||
|
Loading…
Reference in New Issue
Block a user