sponsor Vim development Vim logo Vim Book Ad

CompleteParameter : complete parameter after select the completion.

 script karma  Rating 84/27, Downloaded by 3654  Comments, bugs, improvements  Vim wiki

created by
tenfy zhong
 
script type
utility
 
description
source: https://github.com/tenfyzhong/CompleteParameter.vim

Features

Complete parameters after select a complete item from the complete menu.
After complete the parameters, jump to the first parameter and the select it.
type <c-j>(default mapping) to jump to the next parameter in any position.
type <c-k>(default mapping) to jump to the previous parameter in any position.

Usage

Install a complete engine we have supported. Goto the complete item of the complete menu you want to select, and then type ((default mapping), the parameters will be completed and jump the the first parameter. <m-n>/<m-p>(default mapping) will jump to the next/previous parameter and select it.
 
install details
vim-plug
Plug 'tenfyzhong/CompleteParameter.vim'

Manual
git clone https://github.com/tenfyzhong/CompleteParameter.vim.git ~/.vim/bundle/CompleteParameter.vim
echo 'set rtp+=~/.vim/bundle/CompleteParameter.vim' >> ~/.vimrc
vim -c 'helptag ~/.vim/bundle/CompleteParameter.vim/doc' -c qa!
 

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
CompleteParameter.vim-0.6.1.tar.gz 0.6.1 2017-09-10 7.4 tenfy zhong Python support keep default value and select the value only.
Add option g:complete_parameter_py_keep_value.
Support jeci.
CompleteParameter.vim-0.6.0.tar.gz 0.6.0 2017-08-20 7.4 tenfy zhong Rename file.

Insert parameter if there are some content after the cursor.
Fix bug.
CompleteParameter.vim-0.5.0.tar.gz 0.5.0 2017-08-10 7.4 tenfy zhong show signature.
CompleteParameter.vim-0.4.0.tar.gz 0.4.0 2017-08-08 7.4 tenfy zhong Hidden message.
CompleteParameter.vim-0.3.1.tar.gz 0.3.1 2017-07-28 7.3 tenfy zhong Refactor normal mapping to <Plug> mapping.
    Remove mapping options:
       g:complete_parameter_goto_next_mode,
       g:complete_parameter_mapping_goto_next,
       g:complete_parameter_goto_previous_mode,
       g:complete_parameter_mapping_goto_previous,
       g:complete_parameter_mapping_overload_up_mode,
       g:complete_parameter_mapping_overload_up,
       g:complete_parameter_mapping_overload_down_mode,
       g:complete_parameter_mapping_overload_down,
       g:complete_parameter_mapping_complete,
       g:complete_parameter_failed_insert,
       g:complete_parameter_mapping_complete_for_ft
Add mapping.
       <Plug>(complete_parameter#goto_next_parameter),
       <Plug>(complete_parameter#goto_previous_parameter),
       <Plug>(complete_parameter#overload_up),
       <Plug>(complete_parameter#overload_down)
    Add options: g:complete_parameter_use_ultisnips_mappings
CompleteParameter.vim-0.2.2.tar.gz 0.2.2 2017-07-07 7.4 tenfy zhong Only jump between the scope
Fix bugs.
CompleteParameter.vim-0.2.0.1.tar.gz 0.2.0.1 2017-06-30 7.4 tenfy zhong Support neocomplete.
Support clang_complete.
Support deoplete.
CompleteParameter.vim-0.1.4.tar.gz 0.1.4 2017-06-24 7.4 tenfy zhong Toggle an event CompleteParameterFailed if complete failed.
Add a variable `g:complete_parameter_last_failed_insert` to set the failed_insert.

Fixed bug, delete select text when call the jump mapping.
CompleteParameter.vim-0.0.3.2.tar.gz 0.0.3.2 2017-06-15 7.4 tenfy zhong Support multi called for a file.                                                                                                                                                                                                              Support cpp class template.
CompleteParameter.vim-0.0.2.1.tar.gz 0.0.2.1 2017-06-14 7.4 tenfy zhong Initial upload
ip used for rating: 18.234.139.149

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.
   
Vim at Github