From 88c7c787a3ec803a2307ff73150aa15fcc1ded7b Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Fri, 30 May 2014 00:25:59 +0200 Subject: [PATCH] inputrc: clear screen in insert mode with C-L --- inputrc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/inputrc b/inputrc index 5e8c0b2..63c660b 100644 --- a/inputrc +++ b/inputrc @@ -1,6 +1,6 @@ # Configuration file for readline. -# Copyright (C) 2011-2012 Simon Ruderich +# Copyright (C) 2011-2014 Simon Ruderich # # This file is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -42,3 +42,6 @@ set editing-mode vi # type the first few characters. "\C-p": history-search-backward "\C-n": history-search-forward + +# Allow in Vi normal mode to clear the screen. +"\C-L": clear-screen -- 2.45.2