On Friday, August 30, 2013 1:31:16 AM UTC+2, Marcin Szamotulski wrote:
> That's interesting, but apparently:
> 
> nm \<c-i> :exe "norm! \<C-I>"<cr>
> ends with error E471: Argument reuired, exactly the same as:
> :normal! ^I
> 
> Though as I have mentioned earlier there is no problem with ^O.  I use
> vim, but this also does not work in gvim (on GNU/Linux).  I also tested
> this with vim -U NONE, and it does not work.  Having a simple reliable
> solution would be good, that's why I wrote the small patch.  Is it
> possible to fix :normal when \<C-I> get expanded to a tab character?
> I don't think so, but I am not a vim-guru ...

":normal!" apparently gobbles whitespace, that is, spaces and tabs. The
obvious work-around is to use a count of 1, as in my example.

Best,

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Raspunde prin e-mail lui