Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

vim-like hjkl style navigation #1114

Answered by extrawurst
tony asked this question in Q&A
Discussion options

With Customizable key bindings merged in #234, it may be helpful for earlier requests at #57 and #227 to have an example of what a gitui config with vim-like navigation would be like.

Is this doable? As of what tigui version?

If so, what would an example configuration / initialization look like?

You must be logged in to vote

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
Comment options

Thank you!

It looks like vim_style_key_config.ron has this

It seems @yanganto's #234 PR included this and it's been being improved ever since.

Initial config in a95ffd7 (full commit)

History: old location @ /assets/vim_style_key_config.ron, new location @ /vim_style_key_config.ron

Answer selected by tony
Comment options

As a new user I was really disappointed with the vim_style_key_config on master. It does not include

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

So in the "status" tab I could not move me from the "changes" column to the "diff".

You must be logged in to vote
2 replies
Comment options

I just checked and I am indeed on the newest release (v0.22.1)

Comment options

So in the "status" tab I could not move me from the "changes" column to the "diff".
It works with l to move Unstaged Changes to Diff in 0.21.0 from my end. Let me check this on latest version later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

AltStyle によって変換されたページ (->オリジナル) /