LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 08-07-2005, 08:02 PM   #1
Kropotkin
Member
 
Registered: Oct 2004
Location: /usr/home
Distribution: Fedora, Mint, FreeBSD, Android
Posts: 346

Rep: Reputation: 31
zsh keybindings: home, end, ctrl-left etc


How can one map the home, end, ctrl-left, etc keys in zsh? In the version installed with Fedora, these keys are not active. In the zsh FAQ, it gives instructions for the regular arrow keys:

Code:
bindkey "$(echotc kl)" backward-char 
bindkey "$(echotc kr)" forward-char 
bindkey "$(echotc ku)" up-line-or-history 
bindkey "$(echotc kd)" down-line-or-history
So it appears to be just a matter of getting the correct codes generated by the above-mentioned keys. Anyone know how to do it?

TIA
 
Old 08-08-2011, 10:05 AM   #2
blackbelt_jones
Member
 
Registered: Nov 2002
Posts: 46

Rep: Reputation: 12
Quote:
Originally Posted by Kropotkin View Post
How can one map the home, end, ctrl-left, etc keys in zsh? In the version installed with Fedora, these keys are not active. In the zsh FAQ, it gives instructions for the regular arrow keys:

Code:
bindkey "$(echotc kl)" backward-char 
bindkey "$(echotc kr)" forward-char 
bindkey "$(echotc ku)" up-line-or-history 
bindkey "$(echotc kd)" down-line-or-history
So it appears to be just a matter of getting the correct codes generated by the above-mentioned keys. Anyone know how to do it?

TIA
Oh this is not encouraging.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Home / End keys in aterm Vgui Linux - General 4 08-11-2005 12:59 PM
Home/End keys don't work Abdul Linux - Software 2 07-25-2005 08:48 PM
Home and End keys in RXVT kevmccor Slackware 3 12-16-2004 04:51 PM
Special Keybind CTRL+ALT+END fr0zen Linux - General 4 05-25-2004 12:08 AM
Left ctrl key doesn't work in games... SpItoS Mandriva 0 05-22-2004 02:08 PM


All times are GMT -5. The time now is 07:45 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration