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
- Host: GitHub
- URL: https://github.com/delphinus/ddc-shell-history
- Owner: delphinus
- Created: 2021-12-20T11:43:09.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-12-31T14:03:51.000Z (over 4 years ago)
- Last Synced: 2025-03-03T04:14:34.632Z (over 1 year ago)
- Topics: ddc-source, ddc-vim, neovim, vim
- Language: TypeScript
- Homepage:
- Size: 6.84 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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,
\ },
\ })
```