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

You would need a function for this ...

> > How do I create such an input window?

See ':h inputdialog()'.
--
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:

Post a Comment