terminal user interface to jujutsu. Focused on speed and clarity
9
fork

Configure Feed

Select the types of activity you want to include in your feed.

Update readme and todo

+22 -5
+19 -5
README.md
··· 7 7 8 8 9 9 Press `?` to show the help. (commands are different between graph and files view). 10 - Press `Arrows` to navigate windows, `Enter` to focus file view 10 + Press `Arrows` to navigate windows, `Enter` to focus status view 11 11 List of graph commands: 12 12 13 13 ![jj_tui commands](https://github.com/user-attachments/assets/1e446a3d-1736-4207-b311-29d8e4bdc333) 14 - 15 14 16 15 Please provide any suggestions. I'm new to jujutsu so I'm sure people have workflows I couldn't even dream of. 17 16 ## Installing ··· 26 25 I believe it won't work outside Unix so Windows users will currently have to use wsl. 27 26 28 27 29 - 30 28 # Config file: 31 - You can make a `config.yaml` config file int the following directories to customize key inputs 29 + You can make a `config.yaml` config file in the following directories to customize key inputs 32 30 `linux`: $XDG_CONFIG_HOME/jj_tui/ 33 31 `macos`: ~/Library/preferences/jj_tui/ 34 - see `./jj_tui/lib/key_map.ml` for a spec for the keymap 32 + see `./jj_tui/lib/key_map.ml` for a spec for the keymap and `./jj_tui/lib/config.ml` for the config 33 + The keymap config lets you fully customize all the commands and their sub mmenus. 34 + ``` yaml 35 + key_map: 36 + graph: 37 + #Simple mapping from key to command_id 38 + p: prev 39 + #Command sub menu 40 + s: 41 + title: "Squash" 42 + sub: 43 + # sub menu command 44 + s: "squash_into_parent" 45 + ``` 46 + 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) 47 + 35 48 # logs: 36 49 `linux`: $XDG_STATE_HOME/jj_tui/ 37 50 `macos`: ~/Library/logs/jj_tui/ 51 + 38 52 39 53 # Dev 40 54 Can be built with nix `nix build` or open a nix shell with `nix develop`
+3
todo.md
··· 6 6 - Inside my own program. 7 7 - I could make all components take an `keyList` record and let the caller override that. 8 8 - This option is more versitile because it allows one list to use say, arrows, and the other to use something like hjkl 9 + ## Handling unusual key combos: 10 + - Aparrently general ansi terminals don't properly distinguish many key combos. But kitty and newer protocols do. 11 + - Maybe I could use this protocol within notty.