Thank you for replay...I tried to modify my config.fish according to
your indications but the behavior is always the same.
The first two are working and the last two are not.
By the way according to the fish user help:
http://www.fishshell.org/doc2/commands.html#bind
Alt-w can be written as \ew, and Control-x can be
written as \cx
That's why I used the syntax \e. \e: and from command line both are
working. They don't work from config.fish. And I cannot understand why.
Philip Ganchev wrote:
On Mon, Jan 12, 2009 at 8:03 AM, Goran Josic <[email protected]> wrote:
Hi guys,
I have a strange problem.
I used google but didn't found any useful information.
In my .config/fish/config.fish I have:
bind \cp history-search-backward
bind \cn history-search-forward
bind \e. history-token-search-backward
bind \e: history-token-search-forward
but the second two bindings are not working.
What is strange is that they work if I type them as regular command.
Actually, none of these commands work for me as you typed them.
According to the help, they should be:
bind '"\C-p": history-search-backward'
bind '"\C-n": history-search-forward'
bind '"\M-.": history-token-search-backward'
bind '"\M-:": history-token-search-forward'
Those work fine for me.
.
|
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users