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

https://github.com/delphinus/ddc-shell-history

Shell history completion for ddc.vim
https://github.com/delphinus/ddc-shell-history

ddc-source ddc-vim neovim vim

Last synced: about 2 months ago
JSON representation

Shell history completion for ddc.vim

Awesome Lists containing this project

README

          

# 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

```vim
" 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,
\ },
\ })
```