On Thursday 24 September 2009, Harry Putnam wrote:
> I'm guessing the part of getting dumped into a blank buffer
> in cmd mode is not supposed to happen?
ok try this:
remove all checktime and FileChangedShell lines, remove the
definition of fname, you won't need that now
replace the silent !chmod with
let ta = system("chmod 754 " . expand('%'))
this subverts the intent of the original tip, but i've never
seen the prompt to reload the buffer in this context, so at
this point i don't care, this way works
if i ever see that prompt, i'll add back the checktimes and
FileChangedShell commands
i think the problem centers on the use of '!' to execute shell
commands -- it's a filter if you believe eval.txt, and it's a
way to send commands to the shell if you believe various.txt
in various.txt (:h !cmd) they mention the possibility of
needing to hit CTRL-L afterwards for a redraw, but i tried
that when originally presented with the blank buffer and it
didn't help
sc
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---