Code Monkey home page Code Monkey logo

Comments (9)

Canop avatar Canop commented on July 17, 2024 1

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.

Canop avatar Canop commented on July 17, 2024

It must be enabled in preferences.

After building from source:

rm $(bacon --prefs) && vi $(bacon--prefs)

from bacon.

segeljakt avatar segeljakt commented on July 17, 2024

Cool, thank you!

from bacon.

miguno avatar miguno commented on July 17, 2024

You can do this with

g = "scroll-to-top"
shift-g = "scroll-to-bottom"

in your preferences.

from bacon.

that-ambuj avatar that-ambuj commented on July 17, 2024

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.

Canop avatar Canop commented on July 17, 2024

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.

Canop avatar Canop commented on July 17, 2024

@that-ambuj I'm improving the doc: ffccf7e

live: https://dystroy.org/bacon/config/#key-bindings

from bacon.

that-ambuj avatar that-ambuj commented on July 17, 2024

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.

that-ambuj avatar that-ambuj commented on July 17, 2024

Fair Point, I just wanted to present a UX POV on behalf of people like me :)

from bacon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.