Marco,  belatedly, I realize I should have given much more info about this
than I did.  From vim, I use a function to start a bash script that allows
me to take a screenshot of the current area of interest, save it as a file,
and generates the html <img tag code for that file.

So the only issue for me here was how to get vim to automatically read the
generated img tag into the buffer I'm working in.  Originally I did this
through the clipboard, had my vim function wait until the clipboard content
changed, at which it completed by pasting the clipboard register into the
buffer.
But I had the fatal idea that, with an autocommand to read the <img tag
into the buffer, and rewriting my bash script in a perpetual while loop so
that it would always hang waiting for me to take a screenshot, all I would
ever need to do was drag the rectangle for each screenshot, everything else
would be automatic.

I really appreciate your help but my original clipboard method works very
well and I have returned to it.  I apologize for essentially wasting your
time here.


On Sun, Sep 6, 2015 at 10:53 PM, <vim_use@googlegroups.com> wrote:

> vim_use@googlegroups.com
> <https://groups.google.com/forum/?utm_source=digest&utm_medium=email#!forum/vim_use/topics>
>  Google
> Groups
> <https://groups.google.com/forum/?utm_source=digest&utm_medium=email/#!overview>
> <https://groups.google.com/forum/?utm_source=digest&utm_medium=email/#!overview>
> Today's topic summary
> View all topics
> <https://groups.google.com/forum/?utm_source=digest&utm_medium=email#!forum/vim_use/topics>
>
>    - syntax highlighting for sql: "Capability" is keyword
>    <#14fa65d6ddde22ce_group_thread_0> - 1 Update
>    - au! FileChangedShell <#14fa65d6ddde22ce_group_thread_1> - 3 Updates
>
> syntax highlighting for sql: "Capability" is keyword
> <http://groups.google.com/group/vim_use/t/16102c6a2c3dfe76?utm_source=digest&utm_medium=email>
> Paul <paul.domas...@gmail.com>: Sep 06 11:48PM
>
> Why is "Capability" a key word? I haven't been able to find
> evidence that it is a key word in an SQL dialect.
> ...more
> <http://groups.google.com/group/vim_use/msg/d6af2a3c3d6?utm_source=digest&utm_medium=email>
> Back to top <#14fa65d6ddde22ce_digest_top>
> au! FileChangedShell
> <http://groups.google.com/group/vim_use/t/381bc6b14d15fdfd?utm_source=digest&utm_medium=email>
> porphyry5 <gl00...@gmail.com>: Sep 06 08:08AM -0700
>
> On Friday, September 4, 2015 at 11:50:56 AM UTC-7, porphyry5 wrote:
>
> > What am I missing?
>
> > --
>
> > Graham Lawrence
>
> Thank you both, Marco and Ben Fritz, for your info. I had interpreted
> ...more
> <http://groups.google.com/group/vim_use/msg/1a590f2a70c9ae?utm_source=digest&utm_medium=email>
> Marco <marco.prado...@gmail.com>: Sep 06 02:59PM -0300
>
> Excerpts from porphyry5's message of 2015-09-06 12:08:18 -0300:
>
> > > Graham Lawrence
>
> > Thank you both, Marco and Ben Fritz, for your info. I had interpreted
> FileChangedShell to mean that if I ...more
> <http://groups.google.com/group/vim_use/msg/1a62703998ec4f?utm_source=digest&utm_medium=email>
> Christian Brabandt <cbli...@256bit.org>: Sep 06 09:42PM +0200
>
> Hi Marco!
>
> On So, 06 Sep 2015, Marco wrote:
>
>
> > FILE="$1"
>
> > TIME=$(ls --full-time $FILE | sed 's/\s\+/ /g' | cut -d ' ' -f 6,7,8)
>
> > while : ; do
> ...
> > sleep 1
> ...more
> <http://groups.google.com/group/vim_use/msg/1a680514094e8f?utm_source=digest&utm_medium=email>
> Back to top <#14fa65d6ddde22ce_digest_top>
> You received this digest because you're subscribed to updates for this
> group. You can change your settings on the group membership page
> <https://groups.google.com/forum/?utm_source=digest&utm_medium=email#!forum/vim_use/join>
> .
> To unsubscribe from this group and stop receiving emails from it send an
> email to vim_use+unsubscr...@googlegroups.com.
>



-- 
Graham Lawrence

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to