cknadler / vim-anywhere

Use Vim everywhere you've always wanted to
MIT License
3.67k stars 146 forks source link

Add switch to prepopulate vim with the current clipboard contents #99

Open cspeterson opened 6 years ago

cspeterson commented 6 years ago

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

parker-codes commented 6 years ago

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

cspeterson commented 6 years ago

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 notifications@github.com 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 .

davidfetter commented 5 years ago

Bump