A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/neovim/neovim/commit/f291a0339c186cf6eb83174e88029555b3c2631a below:

use normal! <C-L> in default <C-L> mapping (#17695) · neovim/neovim@f291a03 · GitHub

File tree Expand file treeCollapse file tree 2 files changed

+5

-2

lines changed

Filter options

Expand file treeCollapse file tree 2 files changed

+5

-2

lines changed Original file line number Diff line number Diff line change

@@ -84,7 +84,7 @@ Nvim creates the following default mappings at |startup|. You can disable any

84 84

of these in your config by simply removing the mapping, e.g. ":unmap Y".

85 85

>

86 86

nnoremap Y y$

87 -

nnoremap <C-L> <Cmd>nohlsearch<Bar>diffupdate<CR><C-L>

87 +

nnoremap <C-L> <Cmd>nohlsearch<Bar>diffupdate<Bar>normal! <C-L><CR>

88 88

inoremap <C-U> <C-G>u<C-U>

89 89

inoremap <C-W> <C-G>u<C-W>

90 90

<

Original file line number Diff line number Diff line change

@@ -842,7 +842,10 @@ static void init_typebuf(void)

842 842

void init_default_mappings(void)

843 843

{

844 844

add_map((char_u *)"Y y$", NORMAL, true);

845 -

add_map((char_u *)"<C-L> <Cmd>nohlsearch<Bar>diffupdate<CR><C-L>", NORMAL, true);

845 + 846 +

// Use normal! <C-L> to prevent inserting raw <C-L> when using i_<C-O>

847 +

// See https://github.com/neovim/neovim/issues/17473

848 +

add_map((char_u *)"<C-L> <Cmd>nohlsearch<Bar>diffupdate<Bar>normal! <C-L><CR>", NORMAL, true);

846 849

add_map((char_u *)"<C-U> <C-G>u<C-U>", INSERT, true);

847 850

add_map((char_u *)"<C-W> <C-G>u<C-W>", INSERT, true);

848 851

}

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4