X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=inputrc;h=cf06ec1a18a4962b348cf48ec3124c221d85303f;hb=fbccdd97782f162178d19ade50fd8f120394754b;hp=5e8c0b2c4c0d008ce2364db8a003ddb76903c703;hpb=484454a67b35f306ca67fcf08093bb657106e4f9;p=config%2Fdotfiles.git diff --git a/inputrc b/inputrc index 5e8c0b2..cf06ec1 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,6 +34,8 @@ set editing-mode vi # KEY BINDINGS +# Insert mode. + # Use jk to exit insert mode (jj is too slow). "jk": vi-movement-mode @@ -42,3 +44,11 @@ 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 + +# Command mode. +set keymap vi + +# No bindings yet.