taskell icon indicating copy to clipboard operation
taskell copied to clipboard

Extend available Keys

Open MrUrdam opened this issue 5 years ago • 4 comments

Enhancement:

Is it possible to extend the available keys a little bit ?

I switched from k,j,h,l to the arrow keys but to also switch the uppercase K,J,H,L I need something like Shift+Arrow or Control+Arrow.

Maybe it is possible to implement those as something like <S-Left>, #<C-Left> ...

Great work so far. I searched for a offline Trello alternative because I cannot store company data in a “untrusted” cloud and found Taskell and so far it is perfekt for my needs.

MrUrdam avatar Nov 06 '19 05:11 MrUrdam

I'd love to add modifier key support - it would be useful for so many things - but unfortunately I've never managed to get them working with Brick (the framework taskell is built on). As I understand it, it's because terminal emulators are inconsistent and not a limitation of Brick itself.

I'll look into it again though.

Related: #40

smallhadroncollider avatar Nov 06 '19 08:11 smallhadroncollider

Maybe there is a solution. But I am pretty sure there are other more important features and enhancements on your todo list.

I already saw some nice things on the roadmap/todo-list.

MrUrdam avatar Nov 06 '19 08:11 MrUrdam

A dreamy key would be I, similar to e, A, and i.

I would put you in INSERT mode at the beginning of the line.

@smallhadroncollider if you can minimally tell me if this is Painless, I'll explore! Even if it's for my own fork

shmup avatar Mar 05 '21 15:03 shmup

Sorry for slow response.

This should be fairly simple. It's basically just the same as the Edit action, but composed with an extra state manipulation to change the cursor position to 0 using a combination of updateCursor and updateField.

smallhadroncollider avatar Mar 30 '21 10:03 smallhadroncollider