Phil,
Create a file in ~/.config/fish/functions/ called (for example)
my_keybindings.fish
Define a function in that file that looks similar to this:
function my_keybindings
fish_default_key_bindings
bind "[1;5C" forward-word
bind "[1;5D" backward-word
end
Then in your config.fish file:
set -U fish_key_bindings my_keybindings
Now, whenever you edit the file, in theory, all your sessions will
automagically pick up the sessions
Steve Stagg
On Wed, Aug 26, 2009 at 12:38 PM, Phil Harris<[email protected]> wrote:
> Hi,
>
> My first post to this list, so please be nice if I ask stoopid questions. :)
>
> I've used fish for a few weeks now and like it tremendously, but
> there's one thing which I really want to change and am struggling
> with.
>
> The default behaviour of the up arrow key I find somewhat
> counterintuitive for me and would wish to remove the history-token
> searching from up/down arrow and make them simply traverse the history
> list. I'd then like to bind them to pageup/pagedown but I managed to
> do that already.
>
> I've tried numerous bind commands to remove the function
> history-token-search-backward/forward but for whatever reason I can't
> get them to unbind.
>
> Any help would be appreciated.
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Fish-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/fish-users
>
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users