Mercurial > vim
view src/testdir/test_marks.in @ 6712:c939d19bd86e v7.4.680
updated for version 7.4.680
Problem: CTRL-W in Insert mode does not work well for multi-byte
characters.
Solution: Use mb_get_class(). (Yasuhiro Matsumoto)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Tue, 24 Mar 2015 17:49:51 +0100 |
parents | 3c312e259c79 |
children | 4250ecde6009 |
line wrap: on
line source
Tests for marks. STARTTEST :so small.vim :" test that a deleted mark is restored after delete-undo-redo-undo :/^\t/+1 :set nocp viminfo+=nviminfo madduu :let a = string(getpos("'a")) :$put ='Mark after delete-undo-redo-undo: '.a :/^\t/,$wq! test.out ENDTEST textline A textline B textline C Results: