From: Simon Ruderich Date: Thu, 29 May 2014 22:25:59 +0000 (+0200) Subject: inputrc: clear screen in insert mode with C-L X-Git-Url: https://ruderich.org/simon/gitweb/?p=config%2Fdotfiles.git;a=commitdiff_plain;h=88c7c787a3ec803a2307ff73150aa15fcc1ded7b inputrc: clear screen in insert mode with C-L --- 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