Hi Alex,

What is the best way to programmatically add characters to the current line?
The function 'insChar' can replace the character under the cursor, but I'd
like
to simulate pressing 'i' to enter insert mode, typing e.g. "#{", pressing
esc,
etc, from code in 'viprc'.

Thanks,
Erik

On Mon, Oct 25, 2021 at 4:27 PM Erik Gustafson <erik.d.gustaf...@gmail.com>
wrote:

> Hi Alex,
>
> The file must be loaded in 'vip' namespace to have the right context:
>>
>>    (symbols '(vip pico)
>>       (load "~/.pil/viprc") )
>>
>
> symbols - one of my blindspots! Thank you
>

Reply via email to