Minor fixes

pull/3/head
Arijit Basu 3 years ago
parent df8c03ce2d
commit 03fffd19e2
No known key found for this signature in database
GPG Key ID: 7D7BF809E7378863

2
Cargo.lock generated

@ -1133,7 +1133,7 @@ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
[[package]] [[package]]
name = "xplr" name = "xplr"
version = "0.1.3" version = "0.1.4"
dependencies = [ dependencies = [
"criterion", "criterion",
"crossterm", "crossterm",

@ -1,6 +1,6 @@
[package] [package]
name = "xplr" name = "xplr"
version = "0.1.3" version = "0.1.4"
authors = ["Arijit Basu <sayanarijit@gmail.com>"] authors = ["Arijit Basu <sayanarijit@gmail.com>"]
edition = "2018" edition = "2018"
description = "An experimental, minimal, configurable TUI file explorer, stealing ideas from nnn and fzf." description = "An experimental, minimal, configurable TUI file explorer, stealing ideas from nnn and fzf."

@ -227,8 +227,7 @@ impl Default for KeyBindings {
command: bash command: bash
args: args:
- "-c" - "-c"
- "xdg-open {{shell_escape absolutePath}} x" - "xdg-open {{shell_escape absolutePath}} &> /dev/null"
- Quit
e: e:
help: edit help: edit
actions: actions:

@ -12,7 +12,6 @@ use xplr::error::Error;
use xplr::input::Key; use xplr::input::Key;
use xplr::ui; use xplr::ui;
handlebars_helper!(hex: |v: i64| format!("0x{:x}", v));
handlebars_helper!(shell_escape: |v: str| format!("{}", shellwords::escape(v))); handlebars_helper!(shell_escape: |v: str| format!("{}", shellwords::escape(v)));
fn main() -> Result<(), Error> { fn main() -> Result<(), Error> {

Loading…
Cancel
Save