Some of my keys don't work, and some keyboard activities don't work
the way I expect.

The built-in documentation isn't doing it for me, and I'm just
discovering most of this.  I've run into some issues that I'd like
another perspective on..

----

problem 1:

I don't seem to be able to bind the way I expect.  Example:

> bind -k home beginning-of-line
> test string<home>
> test string[1~

It's odd, because I'd had home/end rebound successfully before, by
pressing the actual keys during the bind process, like so:

> bind <home> beginning-of-line
> bind <end> end-of-line

I don't want to do things this way though.  What if I have 'home' and
'end' already bound, and next year I want to re-bind them to something
new?  At that point, I couldn't get the 'home' or 'end' raw characters
back. (I vaguely remember a way, but I cannot recall enough to search
for it)

Am I forced to use bind's "erase mode" or is there some other
solution?  How would I do that?

Also, how would I make my bind changes permanent?  Is there just some
text file that I could edit?  That would be easiest.

----

problem 2:

Also, when pressing home, I am expecting the current string to be
remembered and for me to be shown the previous command.  Right now it
highlights the line and looks for a match in history.  This is
something new for me to learn, so it's ok.

But when seeing this, I press control-c to kill what I'm doing.  Then
I press home to look through my history.  It still goes through its
searching mode.  I have to press control-c then enter to be able to
use up/down to go through history.  Is this normal?

Even on a blank line (new shell), I do this:

> <up>
> (previous command)
> <control-c>
> <up>
> (second-to-previous command)

I'm actually expecting control-c to be "piss off, start over" and for
me to see the most recent previous command when pressing up.  I am
guessing that there's a different "blank the line" hotkey I need to
get used to.  I can look that up, but is there some way for me to
continue using control-c?

----

problem 3:

I bound home to beginning-of-line, and I want it to work when looking
at the history.

This is what I see:

> echo this is a test
this is a test
> <up>
> echo this is a test <home>
>

So when viewing the command history and pressing <home> it wipes out the line.

I am expecting it to move my cursor to the beginning of the line.

I am forced to press up, then add a space, then press home.  I want to
just have home go to the beginning of the line.

----

If I end up converting to fish, I'll write up some hotkey
documentation on the wiki.  =)


Sy,

------------------------------------------------------------------------------
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to