Try using the option key. It's already implemented. On Tue, Dec 3, 2013 at 9:47 AM, Robert Carpenter <rob...@robacarp.com> wrote: > Hi fish-users, > > I've been running a lot of similar commands lately and I've been really > grateful for the fish command suggestion feature. One thing I've come across > is a situation where I only want to take the next word or two from the > suggestion and then finish the command differently from the way fish > suggested. > > As an example, if the command history contains: > > ssh robert@server 'ls /home' > > then when I type 'ssh' the suggestion will be the full command. If I instead > want to run `ssh robert@server 'ls /etc'` I can either type out the full > command or accept the full completion and ^W back over a few words to put in > what I want. > > I am thinking that it would be useful for me to have a "complete next word" > key, which would take the completion up to some token marker (whitespace or > quote or whatever makes sense here). Then my input strategy would be more > like this: > > - type ssh, see suggestion for `ssh robert@server 'ls /home'` > - ^G to take 'robert@server' > - type the rest of the command manually > > Thoughts? > > ------------------------------------------------------------------------------ > Rapidly troubleshoot problems before they affect your business. Most IT > organizations don't have a clear picture of how application performance > affects their revenue. With AppDynamics, you get 100% visibility into your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics > Pro! > http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk > _______________________________________________ > Fish-users mailing list > Fish-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/fish-users >
------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk _______________________________________________ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users