sponsor Vim development Vim logo Vim Book Ad

cmdlinehelp : Display help on the command currently being edited in the command line

 script karma  Rating 4/1, Downloaded by 974    Comments, bugs, improvements  Vim wiki

created by
Tom Link
 
script type
utility
 
description
Has this ever happened to you? You are typing a command and cannot remember
whether that particular option is an "u" or an "o". cmdlinehelp to the
rescue!

When editing a command line, press <c-o> (see also |g:cmdlinehelpMapView|)
to display help on the command currently being edited.

Use <c-pageup>/<c-pagedown> to scroll the help window.

This plugin was inspired by a post by Marcel Boon to vim_use:
http://groups.google.com/group/vim_use/browse_frm/thread/aaa3d652d7b76d02
 
install details
Edit the vba file and type:

    :so %

See :help vimball for details. If you have difficulties or use vim 7.0,
please make sure, you have the current version of vimball (vimscript
#1502) installed or update your runtime.


Also available via git
http://github.com/tomtom/cmdlinehelp_vim
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
cmdlinehelp.vba.gz 0.5 2008-07-09 7.0 Tom Link - Support for command with a bang [!]
- For :call, :echo[m] show help on the function not the command
- g:cmdlinehelpTable may contain references to custom helper function
- The keys in g:cmdlinehelpTable are regexps
- Don't scroll down one line in the tag preview
cmdlinehelp.vba.gz 0.4 2008-07-02 7.0 Tom Link - For :set, :setlocal, :let show help on the option/variable, not the command
- Catch e426 error.
- Added debug to g:cmdlinehelpIgnore
cmdlinehelp.vba.gz 0.3 2008-07-01 7.0 Tom Link - Prefixes for cheat sheets: g:cmdlinehelpPrefixes
- Display the help on the top of the preview window
cmdlinehelp.vba.gz 0.2 2008-07-01 7.0 Tom Link - g:cmdlinehelpTable
- FIX: wrong window after scrolling
ip used for rating: 54.80.63.78

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
SourceForge.net Logo