On Thu, Nov 25, 2010 at 6:44 AM, Grissiom <[email protected]> wrote:
> On Thu, Nov 25, 2010 at 11:39 AM, Dylan Smith <[email protected]>
> wrote:
>> diff --git a/share/functions/fish_default_key_bindings.fish
>> b/share/functions/fish_default_key_bind
>> index a26387d..5bb7b74 100644
>> --- a/share/functions/fish_default_key_bindings.fish
>> +++ b/share/functions/fish_default_key_bindings.fish
>> @@ -68,8 +68,8 @@ function fish_default_key_bindings -d "Default
>> (Emacs-like) key bindings for fis
>> bind \e\x7f backward-kill-word
>> bind \eb backward-word
>> bind \ef forward-word
>> - bind \e\[1\;5C forward-word
>> - bind \e\[1\;5D backward-word
>> + bind \e\[1\;5C nextd-or-forward-word
>> + bind \e\[1\;5D prevd-or-backward-word
>
> Isn't Ctrl is \c? What is \[1\;5D?
>
Control doesn't output anything by itself, you need to press something
else first. In this case Control+Right or Control+Left.
> And in your previous patch, you added {backward,forward}-word
> bindings. But didn't remove the old ones. Will the old ones still
> work?
>
There weren't any previous bindings, so I would see the funny
characters [1;5C or [1;5D output on the command line. This is similar
to using the command (cat) by itself, then trying to use ctrl-left or
ctrl-right.
In fact an easy way to find out what your terminal outputs for these
shortcuts is to use the command
> cat | xxd
Type in something like ctrl-right, enter (to have the output on a
seperate line), then ctrl-d.
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users