Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Control key support #159

Open
9 of 10 tasks
double-fault opened this issue Jan 16, 2017 · 6 comments
Open
9 of 10 tasks

Control key support #159

double-fault opened this issue Jan 16, 2017 · 6 comments

Comments

@double-fault
Copy link
Member

double-fault commented Jan 16, 2017

If you press the Control key with another key, it triggers a shorcut. Here is a list of shortcuts I plan to support:

  • Control + A - go to the beginning of the line you are currently typing on.
  • Control + E - go to the end of the line you are typing on.
  • Control + L - clears the screen.
  • Control + U - clears the line you are typing in.
  • Control + H - backspace.
  • Control + C - stops whatever you are running.
  • Control + D - exits the shell instance.
  • Control + N - opens a new shell instance.
  • Control + W - deletes the word before the cursor.
  • Control + T - swaps the last two characters before the cursor.
@double-fault double-fault self-assigned this Jan 16, 2017
double-fault added a commit that referenced this issue Jan 16, 2017
double-fault added a commit that referenced this issue Jan 16, 2017
double-fault added a commit that referenced this issue Jan 16, 2017
double-fault added a commit that referenced this issue Jan 16, 2017
double-fault added a commit that referenced this issue Jan 17, 2017
double-fault added a commit that referenced this issue Jan 17, 2017
srifqi pushed a commit to srifqi/BoneOS that referenced this issue Jan 18, 2017
@srifqi
Copy link
Collaborator

srifqi commented Jan 21, 2017

Why don't use shortcut many people already know? (i.e. Control + W to close window (shell instance))

Also, can we make use of Home and End key?

@double-fault
Copy link
Member Author

@srifqi to stop a shell instance do Control+D, that is the *nix standard. What do you want to use the "Home" and "End" key for?

@srifqi
Copy link
Collaborator

srifqi commented Jan 21, 2017

Home - go to the beginning of the line you are currently typing on.
End - go to the end of the line you are typing on.

@double-fault
Copy link
Member Author

double-fault commented Jan 21, 2017

@srifqi okay, can make those aliases of Control+A and Control+E respectively.

double-fault added a commit that referenced this issue Jan 22, 2017
double-fault added a commit that referenced this issue Jan 22, 2017
double-fault added a commit that referenced this issue Jan 22, 2017
amanuel2 pushed a commit that referenced this issue Jan 22, 2017
amanuel2 pushed a commit that referenced this issue Jan 22, 2017
amanuel2 pushed a commit that referenced this issue Jan 22, 2017
amanuel2 pushed a commit that referenced this issue Jan 22, 2017
amanuel2 pushed a commit that referenced this issue Jan 22, 2017
amanuel2 pushed a commit that referenced this issue Jan 22, 2017
amanuel2 pushed a commit that referenced this issue Jan 22, 2017
double-fault added a commit that referenced this issue Jan 31, 2017
double-fault added a commit that referenced this issue Jan 31, 2017
double-fault added a commit that referenced this issue Feb 2, 2017
double-fault added a commit that referenced this issue Feb 2, 2017
@amanuel2
Copy link
Member

Plan on finishing?

@double-fault
Copy link
Member Author

@amanuel2 nope, I'm extremely busy nowadays and my first priority is completing a refactor on FireAlarm.

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

No branches or pull requests

3 participants