···778899Press `?` to show the help. (commands are different between graph and files view).
1010-Press `Arrows` to navigate windows, `Enter` to focus file view
1010+Press `Arrows` to navigate windows, `Enter` to focus status view
1111List of graph commands:
12121313
1414-15141615Please provide any suggestions. I'm new to jujutsu so I'm sure people have workflows I couldn't even dream of.
1716## Installing
···2625I believe it won't work outside Unix so Windows users will currently have to use wsl.
272628272929-3028# Config file:
3131-You can make a `config.yaml` config file int the following directories to customize key inputs
2929+You can make a `config.yaml` config file in the following directories to customize key inputs
3230`linux`: $XDG_CONFIG_HOME/jj_tui/
3331`macos`: ~/Library/preferences/jj_tui/
3434-see `./jj_tui/lib/key_map.ml` for a spec for the keymap
3232+see `./jj_tui/lib/key_map.ml` for a spec for the keymap and `./jj_tui/lib/config.ml` for the config
3333+The keymap config lets you fully customize all the commands and their sub mmenus.
3434+``` yaml
3535+key_map:
3636+ graph:
3737+ #Simple mapping from key to command_id
3838+ p: prev
3939+ #Command sub menu
4040+ s:
4141+ title: "Squash"
4242+ sub:
4343+ # sub menu command
4444+ s: "squash_into_parent"
4545+```
4646+For a full list of commands ids see [`jj_tui/bin/graph_commands.ml`](jj_tui/bin/graph_commands.ml) and [`jj_tui/bin/file_commands.ml`](jj_tui/bin/file_commands.ml)
4747+3548# logs:
3649`linux`: $XDG_STATE_HOME/jj_tui/
3750`macos`: ~/Library/logs/jj_tui/
5151+38523953# Dev
4054Can be built with nix `nix build` or open a nix shell with `nix develop`
+3
todo.md
···66- Inside my own program.
77 - I could make all components take an `keyList` record and let the caller override that.
88 - This option is more versitile because it allows one list to use say, arrows, and the other to use something like hjkl
99+## Handling unusual key combos:
1010+- Aparrently general ansi terminals don't properly distinguish many key combos. But kitty and newer protocols do.
1111+- Maybe I could use this protocol within notty.