From 0aa8128aaa9e6f714372f7ea7299f4115de0a962 Mon Sep 17 00:00:00 2001 From: Gregory Anders Date: Mon, 16 Aug 2021 09:31:14 -0600 Subject: feat(defaults): map CTRL-L to search highlights, update diffs #15385 --- runtime/doc/various.txt | 4 ++++ runtime/doc/vim_diff.txt | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'runtime') diff --git a/runtime/doc/various.txt b/runtime/doc/various.txt index ec91b6e29a..162909ce45 100644 --- a/runtime/doc/various.txt +++ b/runtime/doc/various.txt @@ -14,6 +14,10 @@ Various commands *various* *CTRL-L* CTRL-L Clears and redraws the screen. The redraw may happen later, after processing typeahead. + *CTRL-L-default* + By default, also clears search highlighting + |:nohlsearch| and updates diffs |:diffupdate|. + |default-mappings| *:mod* *:mode* :mod[e] Clears and redraws the screen. diff --git a/runtime/doc/vim_diff.txt b/runtime/doc/vim_diff.txt index 1b669a4873..d96eb84a79 100644 --- a/runtime/doc/vim_diff.txt +++ b/runtime/doc/vim_diff.txt @@ -74,7 +74,9 @@ the differences. Default Mappings: *default-mappings* - nnoremap Y y$ + +nnoremap Y y$ +nnoremap nohlsearchdiffupdate ============================================================================== 3. New Features *nvim-features* -- cgit