tiny icon indicating copy to clipboard operation
tiny copied to clipboard

user config keybinds

Open eoli3n opened this issue 4 years ago • 9 comments

Keybind match qwerty keyboard alt-{1,9} switch to nth tab is for azerty alt-shift-{1,9} switch to nth tab

Also, is there anyway to add a keybind

alt-up/down switch to left/right tab

Or better, a conf file to give ability to set our keybinds.

eoli3n avatar Jan 01 '20 18:01 eoli3n

I love your tool, but vim keybind is strange for me on irc, i prefer term keybind.

C-u : remove before cursor
Bottom/end : Start or end of the line instead of top and bottom of irc history
Alt-right/left : Move between channels
Alt-up/down : Move channels

That would be great to let user customize it in conf file

eoli3n avatar Jan 02 '20 11:01 eoli3n

Any update on that ?


Also, just retried, keys home and end doesn't work too. That's sad as a cli app should not override default term keybinds.

eoli3n avatar May 09 '20 07:05 eoli3n

Another way to improve this, is to let user choose custom a modkey. As i3wm, sway, or kitty https://i3wm.org/docs/userguide.html#_default_keybindings https://github.com/swaywm/sway/wiki/Shortcut-handling https://sw.kovidgoyal.net/kitty/conf.html?highlight=kitty_mod#opt-kitty.kitty_mod

eoli3n avatar May 11 '20 07:05 eoli3n

I still can't use home and end keys to jump to the start or the end of my line, pretty annoying. Workaround was to use ctrl+a, but now i run tiny in gnu/screen, so that keybind isn't working anymore.

Any chance to get at least home/end keybind ?

eoli3n avatar May 19 '21 21:05 eoli3n

If we implement configuring some key bindings, with a little more effort we could implement configuring all key bindings. So I think this is going to happen for all keys if we find the time to work on this.

For now, could you try ctrl+a a? According to https://unix.stackexchange.com/questions/72119/ctrl-a-does-not-take-me-to-the-beginning-of-the-prompt-while-i-am-working-within it should send the ctrl+a sequence to the shell.

osa1 avatar May 20 '21 05:05 osa1

:+1: thanks for the workaround.

eoli3n avatar May 20 '21 06:05 eoli3n

@eoli3n branch for playing/testing if you are interested: https://github.com/osa1/tiny/pull/328

trevarj avatar May 24 '21 18:05 trevarj

Thanks @trevarj, I test this in the week

eoli3n avatar May 24 '21 19:05 eoli3n

Closed by #328

trevarj avatar Jul 07 '21 18:07 trevarj