X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=inputrc;h=aa7401363b2d8f3d487a649a272466125def90d4;hb=16722ec6ecc626b89b4a8f09477feabad4bc3b00;hp=5e8c0b2c4c0d008ce2364db8a003ddb76903c703;hpb=484454a67b35f306ca67fcf08093bb657106e4f9;p=config%2Fdotfiles.git diff --git a/inputrc b/inputrc index 5e8c0b2..aa74013 100644 --- a/inputrc +++ b/inputrc @@ -1,6 +1,6 @@ # Configuration file for readline. -# Copyright (C) 2011-2012 Simon Ruderich +# Copyright (C) 2011-2015 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,7 +34,9 @@ set editing-mode vi # KEY BINDINGS -# Use jk to exit insert mode (jj is too slow). +# Insert mode. + +# Use jk to exit insert mode (jj is too slow to type). "jk": vi-movement-mode # / with the additional effect that only lines starting with the @@ -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.