Ticket #39708

Unable to rebind pre-defined keybindings

Open Date: 2019-10-29 01:32 Last Update: 2019-10-29 17:16

Reporter:
(Anonymous)
Owner:
Type:
Status:
Open [Owner assigned]
Component:
MileStone:
(None)
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
None
File:
None
Vote
Score: 0
No votes
0.0% (0/0)
0.0% (0/0)

Details

I am unable to rebind keys that yash defines from by default.

For example, 'Ctrl-H' is used for 'backward-delete-char' so the following line in my yast configuration does nothing

bindkey -e '\^H' complete-prev-column
and retains the original delete a character behaviour. But when binding 'complete-prev-column' to 'Ctrl-J' it works fine.

Also related is that 'complete-prev-column' and 'complete-next-column' move to the first entry of the column. For example:

$ ls 
Desktop     Music
Documents [ Pictures ]
'complete-prev-column' moves to 'Desktop' instead of 'Documents'.

Ticket History (3/3 Histories)

2019-10-29 01:32 Updated by: None
  • New Ticket "Unable to rebind pre-defined keybindings" created
2019-10-29 08:52 Updated by: magicant
  • Owner Update from (None) to magicant
  • Component Update from (None) to shell-lineedit
Comment

bindkey -e '\H' complete-prev-column

To rebind Ctrl-H, you may have to do bindkey '\?' ... or bindkey '\B' .... It depends on your terminal's configuration which binding Ctrl-H is actually treated as.

'complete-prev-column' and 'complete-next-column' move to the first entry of the column.

That is exactly what complete-next/prev-column are expected to do. Could you elaborate on your issue?

2019-10-29 17:16 Updated by: None
Comment

To rebind Ctrl-H, you may have to do bindkey '\?' ... or bindkey '\B' .... It depends on your terminal's configuration which binding Ctrl-H is actually treated as.

Binding '\?' worked for me, thanks. I'll have to go find a table that lists these...

That is exactly what complete-next/prev-column are expected to do. Could you elaborate on your issue?

I would have thought both commands would keep to the same row, but if that's the intended behaviour then I don't have anything to add.

Attachment File List

No attachments

Edit

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login