Skip to content

Add Ctrl-f and Ctrl-b emacs style keybindings for left and right motion#114

Merged
Rigellute merged 3 commits into
Rigellute:masterfrom
RadicalZephyr:fill-out-emacs-keybinds
Oct 29, 2019
Merged

Add Ctrl-f and Ctrl-b emacs style keybindings for left and right motion#114
Rigellute merged 3 commits into
Rigellute:masterfrom
RadicalZephyr:fill-out-emacs-keybinds

Conversation

@RadicalZephyr
Copy link
Copy Markdown
Contributor

It seems unfair to leave out the emacs keybindings for left and right motion, so I added them for you.

Copy link
Copy Markdown
Owner

@Rigellute Rigellute left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fine by me!

Would you be able to add these new bindings to the help menu (src/ui/help.rs)?
On line 17 & 20 (that describe left and right keys) please add <Ctrl+b> and <Ctrl+f> respectively.

@RadicalZephyr
Copy link
Copy Markdown
Contributor Author

Sure thing! I also added similar documentation for the up and down movement as well.

Copy link
Copy Markdown
Owner

@Rigellute Rigellute left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice one 👍 . Looks like there is a small formatting issue, once fixed I'll merge!

@RadicalZephyr
Copy link
Copy Markdown
Contributor Author

I think I fixed it. That's a neat CI check for formatting you have. I might need to borrow that for my own Rust projects...

@Rigellute
Copy link
Copy Markdown
Owner

@RadicalZephyr feel free to use both CI and CD scripts! https://github.com/Rigellute/spotify-tui/blob/master/.github/workflows/

GitHub actions is working really well.

@Rigellute Rigellute merged commit 7e0dca5 into Rigellute:master Oct 29, 2019
@RadicalZephyr RadicalZephyr deleted the fill-out-emacs-keybinds branch October 30, 2019 01:10
@Rigellute
Copy link
Copy Markdown
Owner

@all-contributors please add @RadicalZephyr for code

@allcontributors
Copy link
Copy Markdown
Contributor

@Rigellute

I've put up a pull request to add @RadicalZephyr! 🎉

nighi pushed a commit to nighi/spotify-tui that referenced this pull request Jul 11, 2025
…ybinds

Add Ctrl-f and Ctrl-b emacs style keybindings for left and right motion
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants