annotate src/testdir/test75.in @ 3423:62dc0d69ab11 v7.3.477

updated for version 7.3.477 Problem: Using ":echo" to output enough lines to scroll, then using "j" and "k" at the more prompt, displays the command on top of the output. (Marcin Szamotulski) Solution: Put the output below the command. (Christian Brabandt)
author Bram Moolenaar <bram@vim.org>
date Fri, 23 Mar 2012 15:18:24 +0100
parents 6018c815e120
children 1cf89d38aa76
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2610
6c05b5e5c1be updated for version 7.3.032
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
1 " Tests for functions.
6c05b5e5c1be updated for version 7.3.032
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
2
6c05b5e5c1be updated for version 7.3.032
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
3 STARTTEST
6c05b5e5c1be updated for version 7.3.032
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
4 :so small.vim
3026
6018c815e120 updated for version 7.3.285
Bram Moolenaar <bram@vim.org>
parents: 2610
diff changeset
5 :set cpo-=<
2610
6c05b5e5c1be updated for version 7.3.032
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
6 :" Test maparg() with a string result
6c05b5e5c1be updated for version 7.3.032
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
7 :map foo<C-V> is<F4>foo
6c05b5e5c1be updated for version 7.3.032
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
8 :vnoremap <script> <buffer> <expr> <silent> bar isbar
6c05b5e5c1be updated for version 7.3.032
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
9 :call append('$', maparg('foo<C-V>'))
6c05b5e5c1be updated for version 7.3.032
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
10 :call append('$', string(maparg('foo<C-V>', '', 0, 1)))
6c05b5e5c1be updated for version 7.3.032
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
11 :call append('$', string(maparg('bar', '', 0, 1)))
6c05b5e5c1be updated for version 7.3.032
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
12 :"
3026
6018c815e120 updated for version 7.3.285
Bram Moolenaar <bram@vim.org>
parents: 2610
diff changeset
13 :map abc x<char-114>x
6018c815e120 updated for version 7.3.285
Bram Moolenaar <bram@vim.org>
parents: 2610
diff changeset
14 :call append('$', maparg('abc'))
6018c815e120 updated for version 7.3.285
Bram Moolenaar <bram@vim.org>
parents: 2610
diff changeset
15 :map abc y<S-char-114>y
6018c815e120 updated for version 7.3.285
Bram Moolenaar <bram@vim.org>
parents: 2610
diff changeset
16 :call append('$', maparg('abc'))
6018c815e120 updated for version 7.3.285
Bram Moolenaar <bram@vim.org>
parents: 2610
diff changeset
17 :"
2610
6c05b5e5c1be updated for version 7.3.032
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
18 :/^eof/+1,$w! test.out
6c05b5e5c1be updated for version 7.3.032
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
19 :qa!
6c05b5e5c1be updated for version 7.3.032
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
20 ENDTEST
6c05b5e5c1be updated for version 7.3.032
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
21
6c05b5e5c1be updated for version 7.3.032
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
22 eof