Neovim::Ext::Buffer - Neovim Buffer class
version 0.05
use Neovim::Ext; my $buffer = $nvim->current->buffer; push @$buffer, 'line'; # add a new line to the buffer @$buffer = (); # delete all buffer lines # check if the buffer is valid if (tied (@{$buffer})->valid) { ... }
A remote Nvim buffer. A Neovim::Ext::Buffer instance is a tied array reference.
Neovim::Ext::Buffer
Return the row and column for a named mark.
Return a Neovim::Ext::Range which represents part of the buffer.
Neovim::Ext::Range
Get or set buffer name.
Get the buffer number.
Check if the buffer still exists.
To install Neovim::Ext, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Neovim::Ext
CPAN shell
perl -MCPAN -e shell install Neovim::Ext
For more information on module installation, please visit the detailed CPAN module installation guide.