aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_edit.vim
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-07-05 13:12:54 +0800
committerzeertzjq <zeertzjq@outlook.com>2022-07-05 14:22:58 +0800
commita01905eb3510e8007e0f56dbf63516c0f6ad2ed0 (patch)
treefe12850153bdc29d542ce91ae02dcb76ddf47bc7 /src/nvim/testdir/test_edit.vim
parent936c11f9c871f3c8a6e26473b9f70e53dfb94bc3 (diff)
downloadrneovim-a01905eb3510e8007e0f56dbf63516c0f6ad2ed0.tar.gz
rneovim-a01905eb3510e8007e0f56dbf63516c0f6ad2ed0.tar.bz2
rneovim-a01905eb3510e8007e0f56dbf63516c0f6ad2ed0.zip
vim-patch:8.2.0363: some Normal mode commands not tested
Problem: Some Normal mode commands not tested. Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#5746) https://github.com/vim/vim/commit/f5f1e10d0d39890298cdf27f664d466c8872b87e Omit Test_edit_forbidden(): change reverted in patch 8.2.0369. Cherry-pick Test_normal_yank_with_excmd() from patch 8.2.0293. Skip Test_normal_cursorhold_with_count(). Cherry-pick Test_star_register() from patch 8.2.0270.
Diffstat (limited to 'src/nvim/testdir/test_edit.vim')
-rw-r--r--src/nvim/testdir/test_edit.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_edit.vim b/src/nvim/testdir/test_edit.vim
index 275c8f7a15..c14afbe5b9 100644
--- a/src/nvim/testdir/test_edit.vim
+++ b/src/nvim/testdir/test_edit.vim
@@ -270,6 +270,10 @@ func Test_edit_10()
call cursor(1, 4)
call feedkeys("A\<s-home>start\<esc>", 'txin')
call assert_equal(['startdef', 'ghi'], getline(1, '$'))
+ " start select mode again with gv
+ set selectmode=cmd
+ call feedkeys('gvabc', 'xt')
+ call assert_equal('abctdef', getline(1))
set selectmode= keymodel=
bw!
endfunc