mirror of
https://github.com/neovim/neovim.git
synced 2026-08-29 18:41:48 +00:00
feat(defaults): map CTRL-L to search highlights, update diffs #15385
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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*
|
||||
|
||||
Reference in New Issue
Block a user