Skip to content

Shougo/pum.vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pum.vim

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.8.0+ and of course, latest is recommended) or Vim 9.0.1276+.

pum.vim detects if "noice.nvim" is installed. https://github.com/folke/noice.nvim

Configuration

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