Add gitui config

This commit is contained in:
Daniel Lynn 2022-04-11 16:22:28 -05:00
parent 91a7a458fa
commit 52c052cb34
Signed by: daniel
GPG Key ID: 28496A140E180A9D
2 changed files with 14 additions and 0 deletions

View File

@ -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" }

13
gitui/key_bindings.ron Normal file
View File

@ -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,),)),
)