vim-anywhere icon indicating copy to clipboard operation
vim-anywhere copied to clipboard

Add switch to prepopulate vim with the current clipboard contents

Open cspeterson opened this issue 6 years ago • 3 comments

-c will dump the contents of the clipboard into the tempfile before it opens for editing

cspeterson avatar Oct 12 '18 14:10 cspeterson

I like this, but how can I utilize the feature? With a separate key binding?

parker-codes avatar Oct 14 '18 01:10 parker-codes

yes, this is how I'm using it rn

# Vim-anywhere
bindsym Control+Mod1+v exec "$HOME/.bin/vim-anywhere/bin/run"
# Vim-anywhere as above but prepopulate with clipboard
contents

bindsym Shift+Mod1+v exec "$HOME/.bin/vim-anywhere/bin/run -c"

On Sat, Oct 13, 2018 at 9:20 PM Parker McMullin [email protected] wrote:

I like this, but how can I utilize the feature? With a separate key binding?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/cknadler/vim-anywhere/pull/99#issuecomment-429588465, or mute the thread https://github.com/notifications/unsubscribe-auth/ADtpsLRY7XhrP4KEqn3-LpTNiXL-dATPks5ukpFagaJpZM4XZiGf .

cspeterson avatar Oct 15 '18 05:10 cspeterson

Bump

davidfetter avatar Jan 13 '19 19:01 davidfetter