>
> instead of actually filling in the completion how about just filling in
> the suggestion (in yellow)? then tab could be used to cycle through the
> suggestions, which are completed with ->


Now, that makes sense ^.  Good idea Martin!  You have my seconded.

i'd also like to be able to complete suggestions one word at a time


I just discovered that this actually seems to be possible and work:
$ ls -d /etc /var /bin  # this is just to get the command into your history
$ ls <CTRL>-<RIGHT>
$ ls -d <CTRL>-<RIGHT>
$ ls -d /etc

Repeated use of <CTRL>-<RIGHT> completes by words (except it also seems to
be needed for each space in between them which is a bit weird and probably
should get fixed).  I had been looking for this feature for a long time and
am pleasantly surprised to discover that it already seems to exist.  On
this same note is it possible to update the User
Documentation<http://fishshell.com/docs/2.0/> as
it seems to be somewhat outdated?  I would gladly contribute to fixing that
up (it looks like it may be generated from
source<http://www.stack.nl/~dimitri/doxygen/index.html>)
unless there's some other canonical documentation that people are using?
 For example, searching for CTRL-F on that page finds nothing, which
surprised me when that is the way that I complete most of the suggestions
in fish.

-Ryan


__________________________________________
*(206) 414-8475*
hryanjones.com


On Sat, Aug 3, 2013 at 7:23 AM, Martin Baehr <
mba...@email.archlab.tuwien.ac.at> wrote:

> On Sat, Aug 03, 2013 at 01:14:27PM +0100, Stestagg wrote:
> > It came in in this commit:
> >
> https://github.com/fish-shell/fish-shell/commit/04ea680e9a803440c85fefae0b4db329c65c1cb2
> > Based on this issue:
> > https://github.com/fish-shell/fish-shell/issues/84
>
> thanks. it works as described, but there is a bug:
> i don't see the selected completion!
>
> i see:
> ls <tab>
> bar/  foo/  sup/
> ls <tab>
> ls bar/<tab>
> ls bar/
> # see, the directory doesn't change!
> # type another character "x", and the directory magically changes:
> ls foo/x
>
> > I personally hate the behaviour, and is less friendly than before, but I
> > guess fish-shell is stuck with it now
>
> i hope not! i have some suggestions how to "improve it"
>
> instead of actually filling in the completion how about just filling in
> the suggestion (in yellow)?
>
> then tab could be used to cycle through the suggestions, which are
> completed with ->
>
> one extra key press, but this would no longer inconvenience those who
> prefer the old method while providing an additional feature.
>
> in general i think cycling through suggestions could be useful (not just
> the directory completions, but that may be a seperate topic (i'd also
> like to be able to complete suggestions one word at a time))
>
> greetings, martin.
> --
> eKita                   -   the online platform for your entire academic
> life
> hackerspace beijing     -
> http://qike.info
> --
> chief engineer
> eKita.co
> pike programmer      pike.lysator.liu.se
> caudium.net
> foresight developer  realss.com
> foresightlinux.org
> unix sysadmin        trainer           developer
> societyserver.org
> Martin Bähr          working in china
> http://societyserver.org/mbaehr/
>
>
> ------------------------------------------------------------------------------
> Get your SQL database under version control now!
> Version control is standard for application code, but databases havent
> caught up. So what steps can you take to put your SQL databases under
> version control? Why should you start doing it? Read more to find out.
> http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
> _______________________________________________
> Fish-users mailing list
> Fish-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fish-users
>
------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to