https://github.com/tani/ddc-path
Path completion for ddc.vim. This source collects path names with GNU find or sharkdp/fd.
https://github.com/tani/ddc-path
ddc-source ddc-vim
Last synced: 4 months ago
JSON representation
Path completion for ddc.vim. This source collects path names with GNU find or sharkdp/fd.
- Host: GitHub
- URL: https://github.com/tani/ddc-path
- Owner: tani
- Created: 2021-10-15T01:45:51.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-12-25T06:54:50.000Z (about 1 year ago)
- Last Synced: 2024-10-05T09:25:04.280Z (5 months ago)
- Topics: ddc-source, ddc-vim
- Language: TypeScript
- Homepage:
- Size: 16.6 KB
- Stars: 15
- Watchers: 2
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ddc-path
Path completion for ddc.vim.
This source collects path names with GNU find or sharkdp/fd.'sharkdp/fd' is a simple, fast and user-friendly alternative to 'find'.
To install this source,
```vim
Plug 'tani/ddc-path',call ddc#custom#patch_global('sources', ['path'])
call ddc#custom#patch_global('sourceOptions', {
\ 'path': {'mark': 'P'},
\ })
call ddc#custom#patch_global('sourceParams', {
\ 'path': {
\ 'cmd': ['fd', '--max-depth', '5'],
\ }
\ })
" or 'cmd': ['find', '-maxdepth', '5'],
```Copyright (c) 2021 TANIGUCHI Masaya. All rights reserved.
This work is licensed under the MIT license.
git.io/mit-license