Hello

I don't have index bound to any key and space selects the entry the
cursor is on so maybe what you want is the default behavior?


On Sat, Sep 18, 2021 at 12:02:56PM -0700, li...@ifohancroft.com wrote:
> Hi,
> 
> I am trying to bind the space key to the `select-entry` function, but  
> then when I start mutt and hit the key, I get 'Key is not bound. Press  
> '?' for help.
> 
> I have this in my muttrc:
> 
> bind index <space> select-entry
> 
> When I start mutt and hit '?' in the listing there, I see:
> 
> '<Space> select-entry select the current entry'
> 
> So it is clearly bound.
> 
> To make sure my key actually sends space, I execute the `what-key`  
> function, press the key and I get:
> 
> Char = <Space>, Octal = 40, Decimal = 32
> 
> To test my binding, I tested binding space to what-key using:
> 
> bind index <space> what-key
> 
> Then I start mutt, hit Space and indeed what-key gets executed. Also  
> the help screen shows it being bound to what-key.
> 
> I have also tried to bind it to select-entry, writing the key as  
> <Space> instead of <space> and the same thing happens.
> 
> Am I doing something wrong or is this perhaps a weird bug?
> 
> Here is my muttrc:
> 
> https://pastebin.com/5eBp4N1j
> 
> Here is my activate-sidebar config:
> 
> https://pastebin.com/pjPckhTh
> 
> Here is my deactivate-sidebar config:
> 
> https://pastebin.com/mzk9Rn4B
> 
> Best Regards,
> IFo Hancroft
> 

-- 
Hokan
Bicyclist
Sysadmin

Attachment: signature.asc
Description: PGP signature

Reply via email to