feat(defaults): map CTRL-L to search highlights, update diffs #15385

This commit is contained in:
Gregory Anders
2021-08-16 09:31:14 -06:00
committed by GitHub
parent 7146103be2
commit 0aa8128aaa
7 changed files with 29 additions and 11 deletions

View File

@@ -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.

View File

@@ -74,7 +74,9 @@ the differences.
Default Mappings: *default-mappings*
nnoremap Y y$
nnoremap Y y$
nnoremap <C-L> <Cmd>nohlsearch<Bar>diffupdate<CR><C-L>
==============================================================================
3. New Features *nvim-features*