Comments (3)
@ovizii I'm not sure I understand everything. Could you come to the chat, maybe ? https://miaou.dystroy.org/3490
from broot.
Is this really closed? Sorry to post into such an old thread but its the same question (apparently).
I am using broot 1.1.11 and when navigating to a file i.e. /root/.config/broot/conf.hjson and hitting enter I get:
Os { code: 2, kind: NotFound, message: "No such file or directory" }
if I manually edit it: /root/.config/broot/conf.hjson and replace $EDITOR with "nano" it still does not work except if I press F2 for editing.
{
invocation: edit
key: F2
shortcut: e
#execution: "$EDITOR +{line} {file}"
execution: "nano +{line} {file}"
leave_broot: false
}
Am I doing something wrong?
###edit###
I might be slightly stupid here, I read again and it seems "enter" starts xdg-open - but that seems to be a desktop command, I am running just on cli. My mistake, I guess I need to stop using "enter" and start using F2?
from broot.
When you hit enter on a file, unless the configuration is changed, xdg-open
is called.
You may:
- configure xdg-open
- call an editor of your choice on open
- call a system opener of your choice on open
I don't really recommend 2 in the general case as it means you won't have something useful on some files.
1 and 3 are done like this: https://dystroy.org/broot/tricks/#change-standard-file-opening
from broot.
Related Issues (20)
- Clarify docs regarding `default_flags` usage HOT 2
- automatic title update when changing focused directory
- gitignore inconsistencies HOT 4
- Nushell's def-env command is deprecated HOT 6
- br can't be launched in a kitty startup session HOT 3
- Optionally use system trash implementation when using `rm` HOT 1
- Pressing `right` to open file leaves a `xdg-open` zombie process HOT 2
- shell command without quitting HOT 1
- For a symlink to another partition, opening it in a new panel shows a wrong fs size HOT 6
- broot --install on Windows PowerShell updates the wrong Profile.ps1 file HOT 6
- broot hangs on a large nested directory HOT 1
- actions on new panel broken on windows since 1.30 HOT 2
- When creating a new pane under Windows, the path contains garbage HOT 3
- Keep working directory of broot process in sync with directory of its currently focused panel HOT 7
- not a known internal: cp HOT 5
- :trash internal doesn't work in staging area HOT 2
- Character inputs that require the Alt key are not working HOT 4
- Changing drive letter on Windows HOT 4
- br shell function does not escape file path HOT 5
- Error when closing broot (from 'br') in nushell (due to a deprecated instruction) 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 broot.