Skip to content

davidosomething/EasyClipRing.vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

EasyClipRing.vim v1.2.2

Autocomplete style vim pop-up menu for your registers. See screenshot in the Usage section.

This plugin requires Vim 7.4.774 or neovim for the v:completed_item feature.

This plugin requires vim-easyclip which requires vim-repeat

Report issues to this plugin's official GitHub repo at https://github.com/davidosomething/EasyClipRing.vim

Installation

You can just drop this plugin into your .vim/ dir. Make sure vim-repeat and vim-easyclip are also installed.

I recommend using vim-plug in general:

call plug#begin()

Plug 'tpope/vim-repeat'
      \| Plug 'svermeulen/vim-easyclip'
      \| Plug 'davidosomething/EasyClipRing.vim'

call plug#end()

Note the dependency scaffold there -- vim-easyclip integrates with vim-repeat, and EasyClipRing.vim uses vim-easyclip.

Usage

Define a custom mapping like so:

imap    gcr  <Plug>(EasyClipRing)

or for <Ctrl-L>

imap    <C-l>   <Plug>(EasyClipRing)

Use it in in insert mode to trigger the pop-up menu:

Screenshot of output

Thanks

Changelog

  • 1.2.2

    • Initialize let s:saveformatoptions = &formatoptions
  • 1.2.1

    • Remove set encoding from plugin files
  • 1.2.0

    • Fix mappings and restructure plugin.
  • 1.1.0

    • Remove default mapping altogether, especially since it makes it hard to type words starting with cr like create, etc.
  • 1.0.0

    • Initial version

License

MIT

About

vim plugin - pum completion menu for EasyClip yanks

Resources

Stars

Watchers

Forks

Packages

No packages published