Giter Site home page Giter Site logo

sfm's People

Contributors

harunx9 avatar mihaigalos avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

sfm's Issues

User-configurable rust-independent config

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.

Shift+H does not work

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" }

help compiling to windows

error[E0599]: no method named is_dirfound for type parameterTPath` 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`

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.