Hi

Hi

Don't worry, we've had several similar questions before.

This should work for you:

bind \cp "commandline -a '|less'"

Thanks

Steve Stagg

On Mon, Jan 9, 2012 at 7:02 AM, HTY <hyil...@gmail.com> wrote:

> I am new to Fish and have some problems adding some features to it. I am
> sorry to mail you knowing you are, in fact, not in the responsibility
> for technical support, but your email address is the only one I could
> find in fish's documentation. I wanted to do something like this: while
> pressed Alt(\e)+p, fish adds a "|less" under the cursor in the command
> line. So I wanted to bind Alt(\e)+g to something like "|grep", but the
> command: bind \eg "\|grep" or anything I could think of did not work.
> Wish you could spare a time for it, please!
>
> --
> Hormetjan Yiltiz
> Department of Psychology
> Peking University, China
> 100871
>
>
> ------------------------------------------------------------------------------
> Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
> infrastructure or vast IT resources to deliver seamless, secure access to
> virtual desktops. With this all-in-one solution, easily deploy virtual
> desktops for less than the cost of PCs and save 60% on VDI infrastructure
> costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
> _______________________________________________
> Fish-users mailing list
> Fish-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fish-users
>
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to