From b496646e1572baf6e851157e92a99989dbb2f726 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Tue, 13 Sep 2016 10:59:56 +1200 Subject: Try out Readline history-preserve-point Not 100% sure on this yet --- readline/inputrc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'readline') diff --git a/readline/inputrc b/readline/inputrc index 6cfc4136..c1e8a2ba 100644 --- a/readline/inputrc +++ b/readline/inputrc @@ -23,6 +23,9 @@ set echo-control-characters off # Expand tilde to full path on completion set expand-tilde on +# Keep the cursor column when iterating through history +set history-preserve-point on + # Add a trailing slash for directories and symlinked directories set mark-directories on set mark-symlinked-directories on -- cgit v1.2.3