rakshasa / rtorrent

rTorrent BitTorrent client
https://github.com/rakshasa/rtorrent/wiki
GNU General Public License v2.0
4.15k stars 412 forks source link

Configurable shortcuts #293

Open hahcho opened 9 years ago

hahcho commented 9 years ago

I have not seen any way to configure the shortcuts in the client(I like using vi-style movement hjkl). Is there any interest in such feature? If so, I can try implementing it.

rakshasa commented 9 years ago

Pretty sure there is, and the whole keybindings code needs to be refactored so if you make something decent I'll be willing to merge it.

pyroscope commented 9 years ago

@hahcho https://github.com/pyroscope/rtorrent-ps/blob/master/patches/command_pyroscope.cc#L187-L262 works, but certainly needs polishing for inclusion – the binding cannot currently run during the config phase, and only the main view is supported. At least gives you a head-start and a possible syntax.

vapniks commented 9 years ago

Also would be nice to be able to have a help key to show the current keybindings (like pressing h in less).