snapshot.vim icon indicating copy to clipboard operation
snapshot.vim copied to clipboard

Add commands for snapshot actions

Open rgrinberg opened this issue 10 years ago • 2 comments

I prefer using commands rather than mappings so it would be nice to have these available.

rgrinberg avatar May 03 '15 00:05 rgrinberg

This is possible. Can I clarify how you would expect the syntax of the command to be?

My current idea is to select a visual area, and do

:`<,`>SnapshotCreate

the visual marks are added automatically.

I am wondering if there is a better way to do this which is less cumbersome.

gelguy avatar May 03 '15 12:05 gelguy

I would expect all the commands to start with Snapshot for effective tab completion. I think your idea with visual marks is fine and I don't think it's particularly cumbersome.

rgrinberg avatar May 03 '15 15:05 rgrinberg