Comments (9)
On second thought, this might sound opinionated or assumptive but I think a majority of people using bacon are familiar(and on love) with vim keybindings
Those users are also used to look for how to setup their familiar bindings in whatever program they use ;)
from bacon.
It must be enabled in preferences.
After building from source:
rm $(bacon --prefs) && vi $(bacon--prefs)
from bacon.
Cool, thank you!
from bacon.
You can do this with
g = "scroll-to-top"
shift-g = "scroll-to-bottom"
in your preferences.
from bacon.
Before seeing this issue, I actually thought bacon
did not support vi keybindings as it was not mentioned in the documentation. Is it OK if I submit a PR mentioning this in the docs? Just so that people wouldn't have to look for help somewhere else.
from bacon.
The right way today is to change the keybindings in the prefs.
There's already a section you can just uncomment : https://github.com/Canop/bacon/blob/main/defaults/default-prefs.toml#L51-L54 but I agree it's easy to miss it.
I'm OK for a mention in the docs, probably as a TOML block to copy-paste in the config page ?
from bacon.
@that-ambuj I'm improving the doc: ffccf7e
live: https://dystroy.org/bacon/config/#key-bindings
from bacon.
That looks great! Thanks!
On second thought, this might sound opinionated or assumptive but I think a majority of people using bacon are familiar(and in love) with vim keybindings. When I first used bacon, I assumed it had vim keybindings by default and I was kinda disappointed.
I want to propose that we should enable vim mappings by default. Of course, we should take the community's opinion on this but my wild guess is that it's going to improve the UX for better.
(I'm extremely sorry that I did not check the commit diff and wrote this essay for no reason :C)
from bacon.
Fair Point, I just wanted to present a UX POV on behalf of people like me :)
from bacon.
Related Issues (20)
- Can't scroll using mouse in a terminal ? HOT 6
- Offline mode does not see path dependency changes HOT 1
- Default `bacon.toml` overrides `prefs.toml` configured jobs HOT 2
- Using `bacon` with `rust-analyzer` in VS Code HOT 5
- Screen doesn't clear when the file watcher restarts a long-running job HOT 8
- run tests with `-- --nocapture` option HOT 4
- bacon reacts to every inotify event, possibly seeing a broken project HOT 8
- Run multiple jobs after each other HOT 5
- Difference between how cargo clippy and bacon clippy treat tests HOT 2
- Fails to build with nightly 98aa3624b 2024-02-08 in ahash-0.8.2 HOT 4
- Bacon fails to properly rerun on changes that happen while compilation is ongoing HOT 7
- `bacon test` doesn't recognize `--features` HOT 4
- Can't seem to make `bacon test --no-default-features` work HOT 2
- Can't build on M3 MacPro with sold linker HOT 5
- wheel scrolling doesn't work in tmux / linux HOT 1
- Not displaying correctly on Windows Terminal, offset by one line HOT 5
- `on_success` doesnโt trigger when there are warnings and `allow_warnings = true` HOT 1
- [feature request] Expand env vars in job command HOT 3
- Inconsistent stdout flushing when using `bacon run`
- Tests are only run on workspace default package
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 bacon.