Giter Site home page Giter Site logo

Remapping keys about dijo HOT 6 OPEN

nerdypepper avatar nerdypepper commented on August 21, 2024 2
Remapping keys

from dijo.

Comments (6)

michaelowens avatar michaelowens commented on August 21, 2024

Would like to see this as well now, especially considering the keybinding q (to close dijo) was removed recently. Instead of pressing 1 key, I now have to press 4 (shift + : + q + enter, as ctrl-c doesn't save). Would be nice to see this configurable as well 😄

from dijo.

nerdypepper avatar nerdypepper commented on August 21, 2024

Should be possible once a config file feature is implemented.

from dijo.

unixfile avatar unixfile commented on August 21, 2024

Environment variable would also work.

from dijo.

nerdypepper avatar nerdypepper commented on August 21, 2024

This is available as of v0.2.7, remains undocumented however. The following is a sample config for dvorak:

[look]
true_chr = "·"
false_chr = "·"
future_chr = "·"
grid_size = 2

[colors]
reached = "cyan"
todo = "magenta"
inactive = "light black"

[keybinds]
week_mode = "v"
global_week_mode = "V"

[keybinds.grid]
up = "n"
down = "t"
left = "h"
right = "s"

[keybinds.cursor]
up = "N"
down = "T"
left = "H"
right = "S"

from dijo.

B4rc1 avatar B4rc1 commented on August 21, 2024

Does not work on

❯ dijo --version
dijo 0.2.7
❯ cat ~/.config/dijo/config.toml
[look]
true_chr = "·"
false_chr = "·"
future_chr = "·"

[colors]
reached = "cyan"
todo = "magenta"
inactive = "light black"

[keybinds]
week_mode = "v"
global_week_mode = "V"

[keybinds.grid]
up = "r"
down = "t"
left = "d"
right = "n"

[keybinds.cursor]
up = "R"
down = "T"
left = "D"
right = "N"

looking at the code this is not implemented?

from dijo.

salastro avatar salastro commented on August 21, 2024

I think as @B4rc1 mentioned, this does not actually work in the current version. Additionally, is it possible to remap the : key? I usually remap it to ; since this is quicker.

from dijo.

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.