Lines Matching refs:buffer
11 3. Vim::Buffer objects |ruby-buffer|
54 @buffer = Vim::Buffer.current
58 @buffer.append(@buffer.count,s)
95 b = Vim::Buffer[n] # gets buffer "n"
96 cb = Vim::Buffer.current # gets the current buffer
100 name = b.name # gets the buffer file name
101 line = b[n] # gets a line from the buffer
103 b[n] = str # sets a line in the buffer
143 3. Vim::Buffer objects *ruby-buffer*
149 current Returns the current buffer object.
151 self[{n}] Returns the buffer object for the number {n}. The first number
156 name Returns the full name of the buffer.
157 number Returns the number of the buffer.
160 self[{n}] Returns a line from the buffer. {n} is the line number.
162 Sets a line in the buffer. {n} is the line number.
163 delete({n}) Deletes a line from the buffer. {n} is the line number.
166 line Returns the current line of the buffer if the buffer is
168 line = {str} Sets the current line of the buffer if the buffer is active.
169 line_number Returns the number of the current line if the buffer is
186 buffer Returns the buffer displayed in the window.
202 $curbuf The current buffer object.