Am 2015-08-12 09:16, schrieb Roland Eggner:
- :au CursorHold <buffer=abuf> echo 'hold'
+ :au BufNewFile * CursorHold <buffer=abuf> echo 'hold'
This hunk perhaps accidental?
No, it must be
:au BufNewFile * au CursorHold <buffer=abuf> echo 'hold'
which shows, that the buffer=abuf is only valid when an autocommand
is executed.
But I think, there is something else strange:
+ On Unix and a few other systems you can also use backticks for the
file name
+ argument, for example: >
+ :next `find . -name ver\\*.c -print`
+ The backslashes before the star are required to prevent the shell from
+ expanding "ver*.c" prior to execution of the find program. The
backslash
+ before the shell pipe symbol "|" prevents Vim from parsing it as
command
+ termination.
The example is missing the pipe symbol
Best,
Christian
--
--
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.