hangups
hangups copied to clipboard
Support for vim-style movement keys
Not an issue as much as it is a feature request, but it would be nice to be able to set an option for using h-j-k-l as arrow keys (like in vim). If I have time (and there is interest) i may implement this myself and issue a PR.
Other than that, I love hangups! Keep being awesome...
:+1:
+1
+1
+1
+1
+1
+1
I might try and get vi-like movements working tonight. If not, tomorrow.
The problem I'm seeing is that it's using urwid's listbox, which defines it's own movement keys. I'm looking into how to just convert j and k to down and up, but I'm not finding any particularly easy ways
I love you guys On Sep 12, 2015 10:12 PM, "Ashen" [email protected] wrote:
The problem I'm seeing is that it's using urwid's listbox, which defines it's own movement keys. I'm looking into how to just convert j and k to down and up, but I'm not finding any particularly easy ways
— Reply to this email directly or view it on GitHub https://github.com/tdryer/hangups/issues/103#issuecomment-139839695.
I've got basic support in #161.
I was only really able to add it in the main conversation list page with j and k working for up and down, since it would stop you from writing j or k on the conversation pages if I added it there too, and since most of the other options can be set with the config, I figure it'd be best to just stick with the existing config options to let you set your own vimlike controls for changing tabs and all that.
One thing is, you won't have vimlike controls when you open the conversation menu (by default ctrl n) because I didn't want code redundancy, but if it's really important to y'all I can add it.
I personally spend almost no time in those menus so it's no big deal for me.
It's working in the menus now, although you'll need to use the arrow keys to move out of textboxes. That'll hopefully change when/if more advanced vimlike controls come around