Skip to content
/ pum.vim Public
forked from Shougo/pum.vim

Original popup completion menu framework library

License

Notifications You must be signed in to change notification settings

tani/pum.vim

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pum.vim

Note: It is still experimental version.

Doc

Please read help for details.

Introduction

pum.vim is the framework library to implement original popup menu completion.

It works both insert mode and command line mode.

Install

Note: pum.vim requires Neovim (0.5.0+ and of course, latest is recommended) or Vim 8.2.1978.

For vim-plug

call plug#begin()

Plug 'Shougo/pum.vim'

call plug#end()

For dein.vim

call dein#begin()

call dein#add('Shougo/pum.vim')

call dein#end()

Configuration

inoremap <Tab>   <Cmd>call pum#map#insert_relative(+1)<CR>
inoremap <S-Tab> <Cmd>call pum#map#insert_relative(-1)<CR>
inoremap <C-n>   <Cmd>call pum#map#insert_relative(+1)<CR>
inoremap <C-p>   <Cmd>call pum#map#insert_relative(-1)<CR>
inoremap <C-y>   <Cmd>call pum#map#confirm()<CR>
inoremap <C-e>   <Cmd>call pum#map#cancel()<CR>
inoremap <PageDown> <Cmd>call pum#map#insert_relative_page(+1)<CR>
inoremap <PageUp>   <Cmd>call pum#map#insert_relative_page(-1)<CR>

Screenshots

Plans

  • PumCompleteDone autocmd
  • PumCompleteChanged autocmd
  • Highlight options
  • Scroll support
  • Highlight match the input

About

Original popup completion menu framework library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages

  • Vim Script 98.5%
  • Makefile 1.5%