Skip to content

Instantly share code, notes, and snippets.

@bernerdschaefer
Created January 8, 2016 19:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bernerdschaefer/cd97643fcaed3864bcc9 to your computer and use it in GitHub Desktop.
Save bernerdschaefer/cd97643fcaed3864bcc9 to your computer and use it in GitHub Desktop.
Turn off arrow keys anywhere inputrc is respected
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