From 52c052cb343a50d07b65ac1a48ba73dccbdaed7c Mon Sep 17 00:00:00 2001 From: Daniel Lynn Date: Mon, 11 Apr 2022 16:22:28 -0500 Subject: [PATCH] Add gitui config --- bombadil.toml | 1 + gitui/key_bindings.ron | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 gitui/key_bindings.ron diff --git a/bombadil.toml b/bombadil.toml index 0d26c05..80c407e 100644 --- a/bombadil.toml +++ b/bombadil.toml @@ -39,6 +39,7 @@ tmux_conf = { source = "tmux.conf", target = ".tmux.conf" } git_template = { source = "git_template", target = ".git_template" } gitconfig = { source = "gitconfig", target = ".gitconfig" } gitignore = { source = "gitignore", target = ".gitignore" } +gitui = { source = "gitui", target = ".config/gitui" } # gpg gpg_agent = { source = "gnupg/gpg-agent.conf", target = ".gnupg/gpg-agent.conf" } diff --git a/gitui/key_bindings.ron b/gitui/key_bindings.ron new file mode 100644 index 0000000..fb46774 --- /dev/null +++ b/gitui/key_bindings.ron @@ -0,0 +1,13 @@ +( + focus_right: Some(( code: Char('l'), modifiers: ( bits: 0,),)), + focus_left: Some(( code: Char('h'), modifiers: ( bits: 0,),)), + focus_above: Some(( code: Char('k'), modifiers: ( bits: 0,),)), + focus_below: Some(( code: Char('j'), modifiers: ( bits: 0,),)), + + move_left: Some(( code: Char('h'), modifiers: ( bits: 0,),)), + move_right: Some(( code: Char('l'), modifiers: ( bits: 0,),)), + move_up: Some(( code: Char('k'), modifiers: ( bits: 0,),)), + move_down: Some(( code: Char('j'), modifiers: ( bits: 0,),)), + + open_help: Some(( code: F(1), modifiers: ( bits: 0,),)), +) \ No newline at end of file