Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Bind arrow keys, HOME key and END key #4

Open
dhamidi opened this issue Jun 14, 2014 · 4 comments
Open

Bind arrow keys, HOME key and END key #4

dhamidi opened this issue Jun 14, 2014 · 4 comments

Comments

@dhamidi
Copy link
Owner

dhamidi commented Jun 14, 2014

Some people expect the arrow keys to work for selecting items in the menu or moving the text cursor (point). Thus the arrow keys should be bound in the following manner:

  • UP shall be equivalent to C-p, moving the cursor upwards
  • DOWN shall be equivalent to C-n, moving the cursor downwards
  • LEFT shall be equivalent to C-b, moving point left by one character
  • RIGHT shall be equivalent to C-f, moving point right by one character

Additionally, the HOME and END keys should be bound:

  • HOME shall be equivalent to C-a, moving point to the beginning of the line
  • END shall be equivalent to C-e, moving point to the end of the line
@dhamidi
Copy link
Owner Author

dhamidi commented Dec 17, 2014

Eugene notifications@github.com writes:

can bindings be moved to config.h or like that?
because some other people prefer hjkl

I can imagine configurable bindings in the future. Supporting hjkl
however is a bit more problematic, because it requires reimplementing
modes as found in vi. Otherwise users can go through the search results
using hjkl but won't be able to input these characters.

@actionless
Copy link

however is a bit more problematic, because it requires reimplementing modes as found in vi.

that's why i removed my initial comment

I can imagine configurable bindings in the future.

but still that one will be pretty usable

@cipriancraciun
Copy link

Yup, this feature seems to be a deal breaker for me... Not having the arrows work properly hinders the usability.

Although good work.

@dhamidi
Copy link
Owner Author

dhamidi commented Dec 19, 2014

Thanks for the feedback!

@cipriancraciun if bindings for arrow keys are important, I'll prioritize this feature more.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

3 participants