view src/testdir/test_jumps.vim @ 23023:4384c44c031a v8.2.2058

patch 8.2.2058: using mkview/loadview changes the jumplist Commit: https://github.com/vim/vim/commit/3482be6a33c3a00fe1e8e604310ad3034f593045 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Nov 27 11:00:38 2020 +0100 patch 8.2.2058: using mkview/loadview changes the jumplist Problem: Using mkview/loadview changes the jumplist. Solution: Use ":keepjumps". Don't let ":badd" or ":balt" change the jumplist. (closes #7371)
author Bram Moolenaar <Bram@vim.org>
date Fri, 27 Nov 2020 11:15:06 +0100
parents 08940efa6b4e
children
line wrap: on
line source

" Test for '' mark in an empty buffer

func Test_empty_buffer()
  new
  insert
a
b
c
d
.
  call assert_equal(1, line("''"))
  bwipe!
endfunc

" vim: shiftwidth=2 sts=2 expandtab