On Tue, Nov 27, 2012 at 2:34 PM, Luciano ES <lucm...@gmail.com> wrote: > function fish_user_key_bindings > bind -k dc delete-or-exit > bind \cz 'commandline ""' > end > > I press Ctrl+z. Nothing happens.
Nothing happens for me either - might be a bug, though something in the back of my mind is nagging at me saying that you can't bind anything to ctrl+z unless you first remove susp with stty - only, changing that doesn't seem to stick in fish (I wonder if it's resetting the terminal characteristics - I'd need to read the code). > I press Delete. Nothing happens. With your above function pressing delete closes the shell for me. > What have I done wrong? Nothing obvious - what happens if you use this instead to debug things? function fish_user_key_bindings bind -k dc 'commandline "delete pressed"' bind \cz 'commandline "ctrl+z pressed"' bind \cc 'commandline "ctrl+c pressed"' bind \cd 'commandline "ctrl+d pressed"' end With this function ctrl+c, ctrl+d and delete should all produce a message, though ctrl+z does nothing for me. > Note: I am running whatever version I downloaded from the git repository > yesterday. Neither fish_user_key_bindings nor fish_user_keybindings works. It's been about a month since I last pulled from upstream - I'll build the latest version and see if anything has changed, though if something had fundamentally broken in this area I would have expected someone to complain that my vi-mode.fish had stopped working. Cheers, -Ian -- http://sites.google.com/site/DarkStarJunkSpace -- http://darkstarshout.blogspot.com/ -- On the day *I* go to work for Microsoft, faint oinking sounds will be heard from far overhead, the moon will not merely turn blue but develop polkadots, and hell will freeze over so solid the brimstone will go superconductive. -- Eric S. Raymond, 2005 -- Please avoid sending me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users