diff kitten: Clear the search when pressing Esc

This commit is contained in:
Kovid Goyal
2018-06-15 15:00:09 +05:30
parent 1022d8a0ee
commit 84b99b1b3d
2 changed files with 6 additions and 1 deletions

View File

@@ -67,7 +67,7 @@ Keyboard controls
========================= ===========================
Action Shortcut
========================= ===========================
Quit :kbd:`q, Ctrl+c`
Quit :kbd:`q, Ctrl+c, Esc`
Scroll line up :kbd:`k, up`
Scroll line down :kbd:`j, down`
Scroll page up :kbd:`PgUp`
@@ -84,6 +84,7 @@ All lines of context :kbd:`a`
Restore default context :kbd:`=`
Search forwards :kbd:`/`
Search backwards :kbd:`?`
Clear search :kbd:`Esc`
Scroll to next match :kbd:`>, .`
Scroll to previous match :kbd:`<, ,`
========================= ===========================