Skip to contents

Append a Vim ex command to the end of a config file, optionally preceded by a descriptive comment.

Usage

rsvim_add_command(command, comment = "", to = rsvim_default_path())

Arguments

command

String. A Vim ex command.

comment

String. Text describing the purpose of the command. This will be written one line above the command, preceded by double-quotes " to be treated as a comment.

to

String. File path to config file.

Value

Returns NULL invisibly.

Examples