Home
last modified time | relevance | path

Searched refs:buffers (Results 1 – 25 of 148) sorted by relevance

123456

/vim-8.2.3635/src/testdir/
H A Dtest_command_count.vim15 command! -range -addr=buffers RangeBuffers :let lines = [<line1>, <line2>]
16 command! -range=% -addr=buffers RangeBuffersAll :let lines = [<line1>, <line2>]
43 argdo echo "loading buffers"
179 let buffers = []
180 .,$-bufdo call add(buffers, bufnr('%'))
181 call assert_equal([bufnr, bufnr + 1, bufnr + 2, bufnr + 3, bufnr + 4], buffers)
184 let buffers = []
185 exe (bufnr + 2) . ',' . (bufnr + 5) . "bufdo call add(buffers, bufnr('%'))"
186 call assert_equal([bufnr + 2, bufnr + 4, bufnr + 5], buffers)
H A Dtest_buffer.vim13 " Load four buffers. Unload the second and third buffers and then
28 " Load four buffers. Unload the third and fourth buffers. Execute .+3bunload
39 " Load four buffers. Unload the second and third buffers and from the last
50 " Load four buffers. Unload the first and second buffers. Execute .-3bunload
121 " With no listed buffers in the list, :bnext and :bprev should fail
182 " out buffers
192 call assert_equal('2 buffers unloaded', v:statusmsg)
194 call assert_equal('2 buffers deleted', v:statusmsg)
196 call assert_equal('2 buffers wiped out', v:statusmsg)
415 " use 1KB per buffer and 2KB for all the buffers
H A Dtest_history.vim16 call assert_true(histadd(a:hist, 'buffers'))
17 call assert_equal('buffers', histget(a:hist))
28 call assert_true(histadd(a:hist, 'buffers'))
34 call assert_match("^\n # \\S* history\n 3 buffers\n> 4 ls$", a)
36 call assert_match("^\n # .* history\n 3 buffers\n> 4 ls", a)
42 call assert_match("^\n # \\S* history\n 3 buffers$", a)
46 call assert_match("^\n # \\S* history\n 3 buffers\n> 4 ls$", a)
50 call assert_match("^\n # \\S* history\n 3 buffers$", a)
52 call assert_match("^\n # \\S* history\n 3 buffers\n> 4 ls$", a)
H A Dtest_winbuf_close.vim1 " Test for commands that close windows and/or buffers:
204 " drawing the tabline helps check that the other tab's windows and buffers
H A Dtest_python2.vim1513 for _b in vim.buffers:
1598 " Test vim.buffers object
1616 i = iter(vim.buffers)
1619 i2 = iter(vim.buffers)
1625 i3 = iter(vim.buffers)
1636 for b in vim.buffers:
1646 cb.append(str(len(vim.buffers)))
1658 i4 = iter(vim.buffers)
1667 i4 = iter(vim.buffers)
1854 for b in vim.buffers:
[all …]
H A Dtest_python3.vim1708 for _b in vim.buffers:
1793 " Test vim.buffers object
1807 i = iter(vim.buffers)
1810 i2 = iter(vim.buffers)
1816 i3 = iter(vim.buffers)
1827 for b in vim.buffers:
1849 i4 = iter(vim.buffers)
1858 i4 = iter(vim.buffers)
2041 for b in vim.buffers:
2989 ee('vim.buffers[100000000]')
[all …]
H A Dtest_excmd.vim39 let ls = split(execute('buffers t', 'silent!'), '\n')
203 " Test for saving all the modified buffers
222 " Test for discarding all the changes to modified buffers
241 " Test for saving and discarding changes to some buffers
H A Dtest_arglist.vim138 let g:buffers = []
140 au BufEnter * call add(buffers, expand('%:t'))
154 call assert_equal(['d', 'c', 'b', 'a', 'c'], g:buffers)
H A Dtest_mksession_utf8.vim12 set sessionoptions=buffers splitbelow fileencoding=utf-8
/vim-8.2.3635/runtime/doc/
H A Dwindows.txt7 Editing with multiple windows and buffers. *windows* *buffers*
27 12. Special kinds of buffers |special-buffers|
643 41. :buffers list of buffers
782 {cmd} must not delete buffers or add buffers to the
1057 :buffers[!] [flags] *:buffers* *:ls*
1097 + modified buffers
1099 = readonly buffers
1100 a active buffers
1102 h hidden buffers
1211 buffers.
[all …]
H A Ddiff.txt121 There can be up to eight buffers with 'diff' set.
135 Hidden buffers are also removed from the list of diff'ed
136 buffers.
168 All the buffers edited in a window where the 'diff' option is set will join in
169 the diff. This is also possible for hidden buffers. They must have been
171 buffers use `:diffoff!`.
177 loaded. Since Vim doesn't allow having two buffers for the same file, you
185 hidden buffers. You can use ":hide" to close a window without unloading the
253 that the buffers will be equal within the specified range.
306 that is triggered by |FileChangedRO| changes buffers the command will fail.
[all …]
H A Dusr_22.txt311 Be careful! When you have hidden buffers with changes, don't exit Vim
312 without making sure you have saved all the buffers.
325 The inactive buffers are remembered, because Vim keeps information about them,
334 :buffers
336 A command which does the same, is not so obvious to list buffers, but is much
406 ":buffers". The ":buffers!" command will list unlisted buffers (yes,
H A Dif_perl.txt120 :perl $nbuf = VIM::Buffers() # returns the number of buffers
121 :perl @buflist = VIM::Buffers() # returns array of all buffers
161 VIM::Buffers([{bn}...]) With no arguments, returns a list of all the buffers
162 in an array context or returns the number of buffers
164 numbers {bn}, returns a list of the buffers matching
H A Dif_pyth.txt145 :py b = vim.buffers[n] # gets buffer "n"
239 vim.buffers *python-buffers*
240 A mapping object providing access to the list of vim buffers. The
242 :py b = vim.buffers[i] # Indexing (read-only)
243 :py b in vim.buffers # Membership test
244 :py n = len(vim.buffers) # Number of elements
245 :py for b in vim.buffers: # Iterating over buffer list
294 vim.current.buffer = vim.buffers[2] # Switch to buffer 2
420 Buffer objects represent vim buffers. You can obtain them in a number of ways:
422 - from indexing vim.buffers (|python-buffers|)
[all …]
H A Dsign.txt455 Return a list of signs placed in a buffer or all the buffers.
470 global group placed in all the buffers are returned.
677 Remove a previously placed sign in one or more buffers. This
703 " Remove sign 30 in group 'g3' from all the buffers
709 " Remove the signs in group 'g4' from all the buffers
712 " Remove sign 40 from all the buffers
715 " Remove all the placed signs from all the buffers
722 Remove previously placed signs from one or more buffers. This
730 the buffers.
H A Dtabpage.txt149 When the 'hidden' option is set, all buffers in closed windows
152 modified buffers are written. Otherwise, windows that have
153 buffers that are modified are not removed, unless the [!] is
154 given, then they become hidden. But modified buffers are
235 Shows a "+" for modified buffers.
451 " Add '+' if one of the buffers in the tab page is modified
H A Dif_tcl.txt89 ::vim::buffer list # Create Tcl commands for all buffers.
103 Provides access to vim buffers. With an integer argument, creates a
304 Buffer commands represent vim buffers. They are created by several commands:
319 $buf command {cmd} # Execute Ex command in buffers context.
324 $buf expr {expr} # Evaluate vim expression in buffers context.
332 $buf option {opt} [val] # Get/Set vim option in buffers context.
394 Reports the number of this buffer. See |:buffers|.
H A Dif_ruby.txt94 num = Vim::Buffer.count # gets the number of buffers
145 Vim::Buffer objects represent vim buffers.
150 count Returns the number of buffers.
H A Dediting.txt104 :buffers
107 |windows.txt| |:files| |:buffers| |:ls|.
964 :wa[ll] Write all changed buffers. Buffers without a file
968 :wa[ll]! Write all changed buffers, even the ones that are
1163 When 'autowriteall' is set all changed buffers will be
1167 Exit Vim. Bring up a prompt when some buffers have been
1170 :qa[ll]! Exit Vim. Any changes to buffers are lost.
1178 :xa[ll] Write all changed buffers and exit Vim. If there are buffers
1184 Write all changed buffers and exit Vim. Bring up a prompt
1185 when some buffers are readonly or cannot be written for
[all …]
/vim-8.2.3635/src/libvterm/src/
H A Dscreen.c60 ScreenCell *buffers[2]; member
465 if(val->boolean && !screen->buffers[BUFIDX_ALTSCREEN]) in settermprop()
468 …screen->buffer = val->boolean ? screen->buffers[BUFIDX_ALTSCREEN] : screen->buffers[BUFIDX_PRIMARY… in settermprop()
504 ScreenCell *old_buffer = screen->buffers[bufidx]; in resize_buffer()
594 screen->buffers[bufidx] = new_buffer; in resize_buffer()
607 …int altscreen_active = (screen->buffers[BUFIDX_ALTSCREEN] && screen->buffer == screen->buffers[BUF… in resize()
620 if(screen->buffers[BUFIDX_ALTSCREEN]) in resize()
623 …screen->buffer = altscreen_active ? screen->buffers[BUFIDX_ALTSCREEN] : screen->buffers[BUFIDX_PRI… in resize()
728 screen->buffer = screen->buffers[BUFIDX_PRIMARY]; in screen_new()
745 if(screen->buffers[BUFIDX_ALTSCREEN]) in vterm_screen_free()
[all …]
/vim-8.2.3635/runtime/syntax/
H A Dsyntax.vim6 " It installs the autocommands and starts highlighting for all buffers.
38 " Always do the syntaxset autocommands, for buffers where the 'filetype'
39 " already was set manually (e.g., help buffers).
H A Dnosyntax.vim6 " It removes the autocommands and stops highlighting for all buffers.
/vim-8.2.3635/src/
H A DREADME.md30 buffer.c | manipulating buffers (loaded files)
62 memfile.c | storing lines for buffers in a swapfile
63 memline.c | storing lines for buffers in memory
/vim-8.2.3635/READMEdir/
H A DContents7 yank buffers, possibility to edit binary files, file name
/vim-8.2.3635/src/libvterm/t/
H A D10state_putglyph.test47 !Combining across buffers

123456