On Wed, 4 Jan 2017, Pito Salas wrote:
> Looking through the doc for the bind command I see how to annotate 
> “option-“ commands (\ex) and “control-“ (\cx) but not “command-“. Can 
> someone point it out for me, thanks!
> 
> SEQUENCE is the character sequence to bind to. These should be written 
> as fish escape sequences 
> <http://fishshell.com/docs/current/index.html#escapes>. For example, 
> because pressing the Alt key and another character sends that character 
> prefixed with an escape character, Alt-based key bindings can be written 
> using the \e escape. For example, Altw can be written as \ew. The 
> control character can be written in much the same way using the \c 
> escape, for example ControlX (^X) can be written as \cx. Note that 
> Alt-based key bindings are case sensitive and Control-based key bindings 
> are not. This is a constraint of text-based terminals, not fish.

As far as I can tell, ⌘ is not supported as a modifier that is
passed through to the terminal (at least by iTerm). This is similar to the 
Super key in Linux or the Windows key in Windows - the key code for these 
keys is reserved for GUI functions[1].

Sorry!

David Adam
zanc...@ucc.gu.uwa.edu.au

[1]: https://en.wikipedia.org/wiki/Command_key#On_other_keyboards
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to