Last active
May 21, 2017 08:23
-
-
Save alorence/3913801c8a7cf32068ad1710abdc3828 to your computer and use it in GitHub Desktop.
Define custom binding for HOME and END keys, which are not well handled under some Windows SSH clients (mRemoteNG, PuTTY, MobaXTerm, etc.)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Correct the behavior for HOME and END keys | |
bindkey '^[[1~' beginning-of-line | |
bindkey '^[[4~' end-of-line |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment