Comments (4)
Problem is the Home key could be used for other things:
- going top of the list, as in some other list based applications
- going to the beginning of the input, which is always focused
- going to ~
I've chosen 2.
I'm open to suggestions regarding a shortcut to go to ~.
from broot.
What if there was a shortcut on the ~
-key?
Or when one enters :~
it could jump to to?
from broot.
Or Alt + Home
?
from broot.
OK, here's what I'll do (should be done by tomorrow):
- define a few more internal verbs, among them
:focus_root
and:focus_user_home
- allow configuration to map trigger keys to verbs
It means you'll be able to add this to config.toml:
[[verbs]]
invocation = "root"
key = "F9"
execution = ":focus_root"
[[verbs]]
invocation = "home"
key = "ctrl-H"
execution = ":focus_user_home"
In this example, ctrl-H sends to your home, and F9 sends to /.
I don't know if there will also be a default mapping for those actions as none seems obvious.
from broot.
Related Issues (20)
- Username with one or more spaces causes an error HOT 3
- R file type is not mapped
- ArchLinux's AUR fails to build broot HOT 4
- ANSI codes inserted into the prompt after starting broot (causing "No matching verb") HOT 15
- Add features for Trash management HOT 1
- Request: Verb: Toggle descending/following all symlinks HOT 4
- Allow configuring how double click opens files HOT 2
- How do I move around locations? HOT 2
- Slow at /proc HOT 4
- Color scheme produces unexpected output since 1.33.0
- Does not compile on Termux (Android) any more HOT 2
- Wrong light colorscheme in zellij HOT 7
- broot fail to recognize `suid` and `sgid` bits when showing permission HOT 2
- Option to always open editor relative to directory where i start `broot` HOT 6
- Arrow between path and git branch misaligned HOT 2
- Could not edit file in Kakoune by specifying client and server HOT 3
- showing long pathnames on multiple lines
- Is there a way to prevent right arrow from opening file in external editor? HOT 1
- Run shell commands like tar and zip directly through broot terminal UI.
- Multiple arguments to custom verbs. HOT 6
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.