Module vpe.core¶
Enhanced module for using Python3 in Vim.
This provides the Vim class, which is a wrapper around Vim’s built-in vim module. It is intended that a Vim instance can be uses as a replacement for the vim module. For example:
from vpe import vim
# Now use 'vim' as an extended version of the ``vim`` module.
# ...
expr_arg¶
- class vpe.core.expr_arg(arg: str)¶
Wrapper for a Vim argument that is an expression.
This is used to wrap a string that represents an expression that should be passed to a Vim function, without being quoted.
Parameters
- arg
The argument as a string representing the Vim expression.