Friday, February 26, 2010

Re: menu --> add input window

* rameo <raiwil@gmail.com> [100226 16:02]:
> I added a few menu commands in Gvim.
>
> p.e. :sort u
>
> Is it possible to ask for an input value:
>
> - from line xxx to line xxx
>
> and if no input given using "all lines".
>
> -------------------
>
> How do I create such an input window?

If I got what you'r about, that can be done with user defined colon
command. See ':h 40.2' + '/LINE RANGE'.

Try out, if this works with the :menu command, too. If not, try and
make a user defined colon command, that you call in your :menu command.

HTH and nice weekend,
--
flori
Vim-Hilfe auf Deutsch http://www.florianrehnisch.de/vimhelp/
WARNING: PRGRAMMING BUG IN E2FSCK!
OR SOME BONEHEAD (YOU) IS CHECKING A MOUNTED (LIVE) FILESYSTEM.

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

No comments: