On Mar 18, 12:46 am, Marc Weber <[email protected]> wrote:
> Excerpts from rameo's message of Thu Mar 17 10:22:11 +0000 2011:> Would it be 
> possible to let VIM/Vimscript auto-detect if I have
> > selected text (p.e. more then 2 characters)
>
> Try :h mode() and report whether this is what you've been looking for:

Hello Marc,

Thank you for replying.
I could not find out how it works. In the helpfile is written that
mod() needs an expression.

I just want to do this:

if  '<'>  ---> do this
if % ---> do that

Rameo


-- 
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

Reply via email to