X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=inputrc;h=63c660bf41cedb94edf67abaee37e08fc985bf39;hb=88c7c787a3ec803a2307ff73150aa15fcc1ded7b;hp=7f0c775dff52564a5efe74c0a539a57a1ecf4252;hpb=667550d3424b726d074c65289c23160268576bc8;p=config%2Fdotfiles.git diff --git a/inputrc b/inputrc index 7f0c775..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 @@ -34,8 +34,7 @@ set editing-mode vi # KEY BINDINGS -# Use jj and jk to exit insert mode. -"jj": vi-movement-mode +# Use jk to exit insert mode (jj is too slow). "jk": vi-movement-mode # / with the additional effect that only lines starting with the @@ -43,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