Hi Gary!

On Do, 21 Mär 2013, Gary Johnson wrote:

> > And it didn't work. I also tried normal "<cr>", normal! "\<cr>",
> > and normal! "<cr>". None of them worked. Does anybody have any
> > other ideas?
> 
> I think that should have worked.
> 
> I grep'd for a pattern, executed ":copen" and tried various
> ":normal" commands with "\<CR>", "\<LF>" and "\<Enter>" and none
> worked.  I think this may be a bug.

No, actually, this was an error on my side. normal doesn't understand 
the <key>-notation:

,----[ :h exe ]-
|     ":execute" is also a nice way to avoid having to type
|     control characters in a Vim script for a ":normal"
|     command: >
|             :execute "normal ixxx\<Esc>"
|     This has an <Esc> character, see |expr-string|.
`----


Mit freundlichen Grüßen
Christian
-- 
Humor hat viel mit Verstand zu tun.
                -- Helmut Dietl

-- 
-- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to