comparison src/testdir/test_virtualedit.vim @ 19613:9c15be376631 v8.2.0363

patch 8.2.0363: some Normal mode commands not tested Commit: https://github.com/vim/vim/commit/f5f1e10d0d39890298cdf27f664d466c8872b87e Author: Bram Moolenaar <Bram@vim.org> Date: Sun Mar 8 05:13:15 2020 +0100 patch 8.2.0363: some Normal mode commands not tested Problem: Some Normal mode commands not tested. Solution: Add more tests. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/5746)
author Bram Moolenaar <Bram@vim.org>
date Sun, 08 Mar 2020 05:15:04 +0100
parents f966b20bb74d
children b07672d13ff9
comparison
equal deleted inserted replaced
19612:a70ee453358e 19613:9c15be376631
299 new 299 new
300 set virtualedit=all 300 set virtualedit=all
301 call append(0, "'r'\t") 301 call append(0, "'r'\t")
302 normal gg^5lrxAy 302 normal gg^5lrxAy
303 call assert_equal("'r' x y", getline(1)) 303 call assert_equal("'r' x y", getline(1))
304 call setline(1, 'aaaaaaaaaaaa')
305 exe "normal! gg2lgR\<Tab>"
306 call assert_equal("aa\taaaa", getline(1))
304 bwipe! 307 bwipe!
305 set virtualedit= 308 set virtualedit=
306 endfunc 309 endfunc
307 310
308 " Test to make sure 'x' can delete control characters 311 " Test to make sure 'x' can delete control characters