From bcc05fd0d777d25c02245963f8c83398049055b1 Mon Sep 17 00:00:00 2001 From: Artem Sapegin Date: Fri, 9 Nov 2012 12:32:08 +0400 Subject: [PATCH] Inputrc: add history-preserve-point option. --- tilde/inputrc.bash | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tilde/inputrc.bash b/tilde/inputrc.bash index 53e4b79..78840a8 100644 --- a/tilde/inputrc.bash +++ b/tilde/inputrc.bash @@ -41,6 +41,9 @@ set skip-completed-text on "\e[B": history-search-forward "\e[A": history-search-backward +# Try to stay at the same position when moving through the history +set history-preserve-point on + # # Line editing