Open yyy33 opened 4 years ago
I think you're looking for something like this.
diff --git a/ranger_fasd_fzf.md b/ranger_fasd_fzf.md
index 770de8e..4da946c 100644
--- a/ranger_fasd_fzf.md
+++ b/ranger_fasd_fzf.md
@@ -47,6 +47,7 @@ https://www.youtube.com/watch?v=ur81Y-mV5Us
self.fm.cd(fzf_file)
else:
self.fm.select_file(fzf_file)
+ self.fm.execute_console("open_with")
# Fasd with ranger (Command Line Style)
# https://github.com/ranger/ranger/wiki/Commands
I think you're looking for something like this.
diff --git a/ranger_fasd_fzf.md b/ranger_fasd_fzf.md index 770de8e..4da946c 100644 --- a/ranger_fasd_fzf.md +++ b/ranger_fasd_fzf.md @@ -47,6 +47,7 @@ https://www.youtube.com/watch?v=ur81Y-mV5Us self.fm.cd(fzf_file) else: self.fm.select_file(fzf_file) + self.fm.execute_console("open_with") # Fasd with ranger (Command Line Style) # https://github.com/ranger/ranger/wiki/Commands
Unfortunately, it does not work properly, I received this prompt
xdg-open: unexpected option '--'
Try 'xdg-open --help' for more information.
I think you're looking for something like this.
diff --git a/ranger_fasd_fzf.md b/ranger_fasd_fzf.md index 770de8e..4da946c 100644 --- a/ranger_fasd_fzf.md +++ b/ranger_fasd_fzf.md @@ -47,6 +47,7 @@ https://www.youtube.com/watch?v=ur81Y-mV5Us self.fm.cd(fzf_file) else: self.fm.select_file(fzf_file) + self.fm.execute_console("open_with") # Fasd with ranger (Command Line Style) # https://github.com/ranger/ranger/wiki/Commands
Is there a way to call rifle directly instead of xdg-open