LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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: Mint, Ubuntu server, FreeBSD, Android
Posts: 362

Rep: Reputation: 32
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: 47

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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:02 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration