Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/shougo/pum.vim

Original popup completion menu framework library
https://github.com/shougo/pum.vim

ddc-vim neovim vim

Last synced: 11 days ago
JSON representation

Original popup completion menu framework library

Awesome Lists containing this project

README

        

# pum.vim

[![Doc](https://img.shields.io/badge/doc-%3Ah%20pum-orange.svg)](doc/pum.txt)

Please read [help](doc/pum.txt) for details.

- [Introduction](#introduction)
- [Install](#install)
- [Configuration](#configuration)
- [Screenshots](#screenshots)

## 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

```vim
inoremap call pum#map#insert_relative(+1)
inoremap call pum#map#insert_relative(-1)
inoremap call pum#map#confirm()
inoremap call pum#map#cancel()
inoremap call pum#map#insert_relative_page(+1)
inoremap call pum#map#insert_relative_page(-1)
```

## Screenshots