From 4bd84d3f2ca397efb39062c7c9dcbf6892652a48 Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Wed, 21 Jul 2010 12:29:38 -0400 Subject: [PATCH] added .inputrc --- .inputrc | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .inputrc diff --git a/.inputrc b/.inputrc new file mode 100644 index 0000000..5e1c2ac --- /dev/null +++ b/.inputrc @@ -0,0 +1,13 @@ +$include /etc/inputrc + +# These two lines allow page-up and page-down to +# search through the history matching previously +# executed commands that start with the prefix that +# the user has currently typed into the input buffer +"\e[5~": history-search-backward +"\e[6~": history-search-forward + +# F1 -> clear screen +"\eOP": "clear\n" +# F4 +"\eOS": "{h,cc}"