Created
January 8, 2016 19:41
-
-
Save bernerdschaefer/cd97643fcaed3864bcc9 to your computer and use it in GitHub Desktop.
Turn off arrow keys anywhere inputrc is respected
This file contains 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
diff --git a/inputrc b/inputrc | |
index c9d1b79..36d91cd 100644 | |
--- a/inputrc | |
+++ b/inputrc | |
@@ -2,3 +2,7 @@ | |
"\e[B": history-search-forward | |
"\C-p": history-search-backward | |
"\C-n": history-search-forward | |
+"\e[A": "" | |
+"\e[B": "" | |
+"\e[C": "" | |
+"\e[D": "" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment