Home
last modified time | relevance | path

Searched refs:one (Results 1 – 25 of 519) sorted by relevance

12345678910>>...21

/vim-8.2.3635/runtime/doc/
H A Dusr_32.txt55 one ~
59 one too ~
65 If we now undo one change, back to "one too", and change "one" to "me" we
68 one ~
104 one ~
124 one two ~
125 one too ~
126 one ~
129 one ~
130 one too ~
[all …]
H A Dtabpage.txt93 current one.
101 " current one
103 " first one
105 " one
117 only one tab page.
157 " one
164 " one
169 " one
171 " one
188 first one.
[all …]
H A Dusr_08.txt34 top one:
37 |/* file one.c */ |
40 |one.c=============================|
41 |/* file one.c */ |
43 |one.c=============================|
96 |/* file one.c */ |
98 |one.c=============================|
231 |/* file one.c */ |
316 vim -o one.txt two.txt three.txt
321 |file one.txt |
[all …]
H A Dusr_07.txt5 Editing more than one file
9 Define a list of files to work on and jump from one to the other. Copy text
10 from one file and put it in another one.
33 file and open the new one. If the current file has unsaved changes, however,
68 vim one.c two.c three.c
104 one.c [two.c] three.c ~
112 To go back one file: >
126 And to move back to the first one again: >
185 :args one.c two.c three.c
187 You are now in one.c. >
[all …]
H A Dusr_27.txt31 only one of them.
48 If you have a pattern with at least one uppercase character, the search
112 window (in the status line if there is one). It looks like this:
259 match one or more times. >
329 /one\|two\|three
331 Matches "one", "two" and "three".
477 /one\ntwo
483 /one\_stwo
487 /one\_s\+two
490 start of the next one.
[all …]
/vim-8.2.3635/src/testdir/
H A Dtest_listener.vim25 call setline(1, 'one one')
40 call setline(1, ['one one', 'two'])
52 call setline(1, ['one one', 'two'])
63 call setline(1, ['one one', 'two'])
76 call setline(1, ['one one', 'two'])
86 call setline(1, ['one one', 'two'])
97 call setline(1, ['one one', 'two'])
107 call setline(1, ['one one', 'two'])
120 call setline(1, ['one one', 'two'])
161 call setline(1, 'one one')
[all …]
H A Dtest_method.vim42 let d = #{one: 1, two: 2, three: 3}
57 call assert_equal(['one', 'two', 'three'], d->keys())
59 call assert_equal(#{one: 2, two: 3, three: 4}, d->map('v:val + 1'))
68 call assert_equal("{'one': 1, 'two': 2, 'three': 3}", d->string())
88 eval ['one', 'two', 'three']->append(1)
89 call assert_equal(['', 'one', 'two', 'three'], getline(1, '$'))
94 eval ['one', 'two', 'three']->appendbufline(bnr, 1)
101 func Concat(one, two, three) argument
102 return a:one .. a:two .. a:three
113 eval 'one'->Partial('three')->assert_equal('onetwothree')
[all …]
H A Dtest_vim9_expr.vim17 assert_equal('one', true ? 'one' : 'two')
22 assert_equal('one', !!0.1 ? 'one' : 'two')
24 assert_equal('one', !!'x' ? 'one' : 'two')
28 assert_equal('one', !!0z1234 ? 'one' : 'two')
29 assert_equal('one', !![0] ? 'one' : 'two')
30 assert_equal('one', !!{x: 0} ? 'one' : 'two')
32 assert_equal('one', name ? 'one' : 'two')
52 assert_equal('one', 1 ? 'one' : xxx)
2582 assert_equal('one', {one: 'one'}.one)
2583 assert_equal('one', {one: 'one'}[g:oneString])
[all …]
H A Dtest_matchfuzzy.vim19 call assert_equal(['one'], matchfuzzy(['one', 'two'], 'one'))
33 …call assert_equal(['onetwo', 'one_two', 'one two'], ['onetwo', 'one_two', 'one two']->matchfuzzy('…
41 call assert_equal(['one', 'onex', 'onexx'], ['onexx', 'one', 'onex']->matchfuzzy('one'))
51 call assert_equal([], ['foo bar baz', 'foo', 'foo bar', 'baz bar']->matchfuzzy('one two'))
56 …call assert_equal([#{text: 'two one'}], [#{text: 'one two'}, #{text: 'two one'}]->matchfuzzy('two
97 …call assert_equal([['curl', 'world'], [[2,3], [2,3]], [128, 127]], matchfuzzypos(['world', 'one', …
123 call assert_equal([['aobncedone'], [[7, 8, 9]], [158]], matchfuzzypos(['aobncedone'], 'one'))
125 call assert_equal([['xoone'], [[2, 3, 4]], [168]], matchfuzzypos(['xoone'], 'one'))
129 …call assert_equal([[], [], []], ['foo bar baz', 'foo', 'foo bar', 'baz bar']->matchfuzzypos('one t…
171 call assert_equal(['oneĄwo', 'oneąwo'],
[all …]
H A Dtest_join.vim7 call assert_equal('one two', getline(1))
13 call setline(1, ['one', '', 'two'])
15 call assert_equal('one', getline(1))
17 call setline(1, ['one', ' ', 'two'])
19 call assert_equal('one', getline(1))
23 call assert_equal('one', getline(1))
27 call assert_equal('one', getline(1))
248 // And so should this one.
251 // And so should this one.
342 // And so should this one.
[all …]
H A Dtest_undo.vim94 new one
280 call feedkeys("ione one one\<Esc>", 'xt')
286 call assert_equal(['one one one', 'two', 'two', 'three'], getline(1, '$'))
288 call assert_equal(['one one one', 'two', 'two'], getline(1, '$'))
290 call assert_equal(['one one one'], getline(1, '$'))
294 call assert_equal(['one one one'], getline(1, '$'))
296 call assert_equal(['one one one', 'two', 'two'], getline(1, '$'))
298 call assert_equal(['one one one', 'two', 'two', 'three'], getline(1, '$'))
559 call append(0, 'this is one line')
562 " first a simple one-line change.
[all …]
H A Dtest_textprop.vim24 call prop_type_add('one', {})
26 let proptype = 'one'->prop_type_get()
34 call prop_type_delete('one')
104 call prop_type_add('one', {})
111 call prop_type_delete('one')
118 call setline(1, 'one two three')
136 call setline(1, ['one one one', 'twotwo', 'three', 'fourfour', 'five', 'sixsix'])
346 call setline(1, ['one one one', 'two two two', 'six six six', 'ten ten ten'])
683 " Set first line to 'one two three'
876 call setline(1, ['one one', 'two two', 'three three', 'four four', 'five'])
[all …]
H A Dtest_wordcount.vim15 call append(1, 'one two three')
22 call append(1, 'one two three')
30 call append(1, 'one two three')
38 call append(1, ['one two three', 'one two three', 'one two three'])
43 " Test 6: one line with BOM set
45 call append(1, 'one two three')
55 " Test 7: one line with multibyte words
H A Dtest_vim9_assign.vim494 d1.one = 1
498 d2.one = {}
503 d3.one = {}
504 d3.one.two = {}
547 dl.one = []
826 dd.one) = 2
1080 @1 = 'one'
1278 mylist += [{one: 'one'}]
1281 assert_equal('one', dd.one)
1290 mylist[0] += [{one: 'one'}]
[all …]
H A Dtest_cpoptions.vim11 call writefile(['one'], 'Xfile')
116 call writefile(["one\tXfile1\t/^one$/"], 'tags')
258 exe "normal i one\<CR>\<Up>"
262 exe "normal i one\<CR>\<Up>"
400 call setline(1, ['', 'one', 'two', 'three', 'one', 'two', 'three'])
402 exe "normal /one/+2\<CR>"
406 exe "normal /one/+2\<CR>"
417 call setline(1, 'one')
437 call setline(1, 'one')
624 call assert_equal("one\n", @")
[all …]
H A Dtest_assert.vim59 call assert_equal(0, assert_equal(#{one: 1, two: 2}, #{two: 2, one: 1}))
61 call assert_equal(1, assert_equal(#{one: 1, two: 2}, #{two: 2, one: 3}))
62 call assert_match("Expected {'one': 1} but got {'one': 3} - 1 equal item omitted", v:errors[0])
65 call assert_equal(1, assert_equal(#{one: 1, two: 2}, #{two: 22, one: 11}))
66 call assert_match("Expected {'one': 1, 'two': 2} but got {'one': 11, 'two': 22}", v:errors[0])
69 call assert_equal(1, assert_equal(#{}, #{two: 2, one: 1}))
70 call assert_match("Expected {} but got {'one': 1, 'two': 2}", v:errors[0])
73 call assert_equal(1, assert_equal(#{two: 2, one: 1}, #{}))
83 let goodtext = ["one", "two", "three"]
267 call assert_equal(1, assert_fails('xxx', #{one: 1}))
[all …]
H A Dtest_comments.vim214 call setline(1, ['one', '/* two */', 'three'])
216 call assert_equal(['one', '/* two */', 'three'], getline(1, '$'))
224 call feedkeys("a- one\n- two\n", 'xt')
225 call assert_equal(['- one', '- two', ''], getline(1, '$'))
229 call assert_equal(['', 'one', ''], getline(1, '$'))
234 call assert_equal(['one two', ''], getline(1, '$'))
238 call assert_equal(['one', 'two', ''], getline(1, '$'))
266 call setline(1, ['- one two', 'three'])
268 call assert_equal(['- one two three'], getline(1, '$'))
271 call setline(1, ['- one', '- two'])
[all …]
H A Dtest_ruby.vim16 call setline(1, ['one', 'two', 'three'])
23 call setline(1, ['one', 'two', 'three'])
31 call setline(1, ['one', 'two', 'three', 'four'])
71 call setline(1, ['one', 'two', 'three'])
98 call setline(1, ['one', 'two', 'three'])
111 ruby $curbuf.append(0, 'one')
129 call setline(1, ['one', 'two', 'three'])
142 call setline(1, ['one', 'two', 'three'])
151 call setline(1, ['one', 'two'])
152 call assert_equal('one', rubyeval('$curbuf[1]'))
[all …]
H A Dtest_textformat.vim945 call setline(1, ['one ', 'two'])
985 call setline(1, ['one two three four', 'five six', 'one two'])
991 call setline(1, ['one two three four', 'five six', 'one two'])
1035 call setline(1, 'one two three four')
1041 call setline(1, 'one two three four')
1047 call setline(1, 'one two three four')
1053 call setline(1, 'one two three four')
1067 call setline(1, 'one two three four')
1073 call setline(1, 'one two three four')
1087 call setline(1, 'one two three four five')
[all …]
H A Dtest_maparg.vim86 var one: string = maparg('{')
87 assert_equal('w', one)
179 inoremap K one<Left>x
185 call assert_equal('one<Left>x', orig.rhs)
201 inoremap K one\<CR>two
203 call assert_equal('one<CR>two', getline(1))
207 call assert_equal('one\<CR>two', orig.rhs)
216 call assert_equal('one<CR>two', getline(1))
221 inoremap K one<CR>two
223 call assert_equal('one<CR>two', getline(1))
[all …]
H A Dtest_window_id.vim6 edit one
8 let w:one = 'one'
31 call assert_equal("one", expand("%"))
38 call assert_equal('one', getwinvar(id1, 'one'))
75 call assert_equal("one", expand("%"))
H A Dtest_usercommands.vim120 TestFArgs one two three
123 TestFArgs one\\two three
126 TestFArgs one\ two three
129 TestFArgs one\"two three
141 TestQArgs one two three
144 TestQArgs one\\two three
147 TestQArgs one\ two three
150 TestQArgs one\"two three
174 TestNoArg one
409 args one two three
[all …]
H A Dtest_registers.vim85 call setline(1, "one")
87 call assert_equal("one\n", @1)
92 call assert_equal("one\n", @1)
99 call assert_equal("one\n", @1)
101 " delete a word with register DOES change register one with one of a list of
152 call setline(1, ["one", ""])
518 let @x = 'one'
626 "\ one
640 let a = "one"
653 " only one line with a \
[all …]
H A Dtest_fold.vim158 let one = "\<Tab>a"
160 call setline(1, [one, one, zero, zero, zero, one, one, one])
1053 \ a:fo .. ' one ',
1063 \ a:fo .. ' one ',
1072 \ a:fo .. ' one ',
1081 \ a:fo .. ' one ',
1093 \ a:fo .. 'one ',
1108 \ a:fo .. ' 1 one ',
1146 \ a:fo .. a:fo .. ' one ',
1151 \ a:fo .. a:fo .. ' one ',
[all …]
/vim-8.2.3635/runtime/tutor/
H A Dtutor.vim68 " The Japanese tutor is available in three encodings, guess which one to use
69 " The "sjis" one is actually "cp932", it doesn't matter for this text.
78 " The Korean tutor is available in two encodings, guess which one to use
85 " The Chinese tutor is available in three encodings, guess which one to use
102 " The Polish tutor is available in two encodings, guess which one to use.
109 " The Turkish tutor is available in two encodings, guess which one to use
128 " The Slovak tutor is available in three encodings, guess which one to use
135 " The Slovak tutor is available in two encodings, guess which one to use
144 " The Czech tutor is available in three encodings, guess which one to use
151 " The Russian tutor is available in three encodings, guess which one to use.
[all …]

12345678910>>...21