diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-05-31 22:06:51 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-05-31 22:06:51 +0200 |
commit | fccd93f0917234b962ce07d1df3adf9d7105936f (patch) | |
tree | 9b5b01cb09c6fc7c445e7f59cecb12d237e4057e /src/testdir/test_backspace_opt.vim | |
parent | 494e9069cb32620f7688a7cb128a3feff827639e (diff) |
patch 8.2.0867: using \{xxx} for encoding a modifier is not nicev8.2.0867
Problem: Using \{xxx} for encoding a modifier is not nice.
Solution: Use \<*xxx> instead, since it's the same as \<xxx> but producing a
different code.
Diffstat (limited to 'src/testdir/test_backspace_opt.vim')
-rw-r--r-- | src/testdir/test_backspace_opt.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testdir/test_backspace_opt.vim b/src/testdir/test_backspace_opt.vim index 503643a74b..149d8a8d3a 100644 --- a/src/testdir/test_backspace_opt.vim +++ b/src/testdir/test_backspace_opt.vim @@ -86,7 +86,7 @@ func Test_backspace_ctrl_u() set cpo-=< inoremap <c-u> <left><c-u> - exe "normal Avim3\{C-U}\<Esc>\<CR>" + exe "normal Avim3\<*C-U>\<Esc>\<CR>" iunmap <c-u> exe "normal Avim4\<C-U>\<C-U>\<Esc>\<CR>" @@ -96,7 +96,7 @@ func Test_backspace_ctrl_u() exe "normal A vim6\<Esc>Azwei\<C-G>u\<C-U>\<Esc>\<CR>" inoremap <c-u> <left><c-u> - exe "normal A vim7\{C-U}\{C-U}\<Esc>\<CR>" + exe "normal A vim7\<*C-U>\<*C-U>\<Esc>\<CR>" call assert_equal([ \ "1 this shouldn't be deleted", |