On Sat, Aug 19, 2006 at 10:53:31PM +0200, Martin Bähr wrote:
> interresting might also be to display a screenful of matches, that gets
> updated as you change the search term.

i just had an idea that this might actually not be so hard to do.
just need a keybinding to a function that can search the history

it could be simply something like:

function -b history-complete
  fish_history | grep (commandline) | fish_pager (commandline)
end

there seems to be no function that displays the whole history, and also
the pager is not documented so i don't know how to actually use it.
(it would be very useful in this case to use the fish_pager because of
the highlighting of the search term...)

a similar function could search for the token under the cursor if there
is a way to get at just that token.

i think something like this could make using the history very interresting.

greetings, martin.
-- 
cooperative communication with sTeam      -     caudium, pike, roxen and unix
offering: programming, training and administration   -  anywhere in the world
--
pike programmer   travelling and working in europe             open-steam.org
unix system-      bahai.or.at                        iaeste.(tuwien.ac|or).at
administrator     (caudium|gotpike).org                          is.schon.org
Martin Bähr       http://www.iaeste.or.at/~mbaehr/

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to