Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 572 Bytes

README.md

File metadata and controls

31 lines (21 loc) · 572 Bytes

ddc-shell-history

Shell history completion for ddc.vim

This source collects candidates from histories in your $SHELL.

Required

denops.vim

https://github.com/vim-denops/denops.vim

ddc.vim

https://github.com/Shougo/ddc.vim

Configuration

" Use shell-history source.
call ddc#custom#patch_global('sources', ['shell-history'])

" Change source options
call ddc#custom#patch_global('sourceOptions', {
      \ 'shell-history': {
      \   'mark': 'S',
      \   'minKeywordLength': 4,
      \   'maxKeywordLength': 50,
      \ },
      \ })