harunx9 / sfm Goto Github PK
View Code? Open in Web Editor NEWSimple two-panel file manager written in Rust inspired by vim and Total Commander
License: MIT License
Simple two-panel file manager written in Rust inspired by vim and Total Commander
License: MIT License
Hi, nice work!
Ideally, users can be empowered to configure the key mappings independent of rust
.
These mappings can be in a i.e. config.{toml, yaml}
, for example.
error[E0599]: no method named
is_dirfound for type parameter
TPath` in the current scope | --> src\app\file_system\functions.rs:31:18
| |
| 31 | if item_path.is_dir() {
| | ^^^^^^ method not found in TPath
|
| For more information about this error, try rustc --explain E0599
.
| error: could not compile sfm
due to previous err`
I use a Firefox plugin called Vimium C to have vim
-like navigation in the browser.
To go back, I use Shift+H
(Shift+Left in vim
terminology). I would like to have this in sfm
as well.
The following diff does not produce the expected result (in ~/.config/sfm.toml
):
diff --git a/sfm.toml b/sfm.toml
index 9f56dea..b5f445e 100644
--- a/sfm.toml
+++ b/sfm.toml
@@ -35,7 +35,7 @@ prev_tab = { key = "p" }
close = { key = "esc" }
open = { key = "o" }
open_as_tab = { key = "o", modifier = "C" }
-navigate_up = { key = "backspace" }
+navigate_up = { key = "h", modifier = "S" }
This might be because h
with S
modifier might be interpreted as H
, so tried with that as well. Still no luck:
diff --git a/sfm.toml b/sfm.toml
index 9f56dea..24e1c77 100644
--- a/sfm.toml
+++ b/sfm.toml
@@ -35,7 +35,7 @@ prev_tab = { key = "p" }
close = { key = "esc" }
open = { key = "o" }
open_as_tab = { key = "o", modifier = "C" }
-navigate_up = { key = "backspace" }
+navigate_up = { key = "H" }
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.