Comments (2)
Thanks! I'm currently using this script. But I switched from file
to perl-file-mimeinfo
because it follows the XDG standard.
from fff.
I have expanded on this idea to create a file-opener script https://github.com/Docbroke/opener
However to use this with fff, some code change is needed. Under the funciton open() entire case statement for file opening may be replaced with below code
clear_screen
reset_terminal
opener "$1"
setup_terminal
redraw
I have removed nohup and redirection of terminal output to allow for terminal commands,
from fff.
Related Issues (20)
- How to copy files names to system clipboard? HOT 1
- [enhancement] ueberzug instead of w3m-img for image previews HOT 8
- [Feature Request] want to an option of disabling #62
- Tree View?
- fff is broken on wezterm
- move one step down when marking
- Key conflict HOT 2
- add keybinding for "du" or "ncdu" if available
- sort downloads directory by time
- no image preview
- Choose the selection file's location
- trash-action is failing
- Need fff package for Fedora HOT 1
- Command not found
- Inappropriate ioctl for device (zsh) HOT 1
- `fff` does not display image preview HOT 3
- [enhancement] option to open html files in browser HOT 1
- Extract/Compress and/or Mount/Unmount features HOT 1
- [enhancement] add FFF_CD_ON_EXIT variable to controll cd on exit
- show help within the program HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fff.