Dark deno-powered UI framework for Vim/Neovim
If you don't want to configure plugins, you don't have to use the plugin. It does not work with zero configuration. You can use other plugins.
Please read help for details.
NOTE: I have created a Japanese article for ddu.vim.
Ddu is the abbreviation of "dark deno-powered UI". It provides an extensible and asynchronous UI framework for Vim/Neovim.
The development is supported by GitHub Sponsors. Thank you!
I have chosen the denops.vim framework to create this plugin because denops.vim is better than the Neovim Python interface.
- Easy to set up
- Minimal dependency
- Stability
- Vim/Neovim compatibility
- Speed
- Library
- Easy to hack
Please see: #10
NOTE: For the current version requirements, see the COMPATIBILITY section
in doc/ddu.txt (:h ddu-compatibility).
Below is a minimal configuration to get started with ddu.vim. For detailed documentation, see doc/ddu.txt.
You will need a UI, at least one source, and a kind plugin. The example below uses the popular combination of ddu-ui-ff, ddu-source-file, ddu-kind-file, and ddu-filter-matcher_substring.
A minimal runtime configuration example (no plugin-manager-specific instructions):
" Example: minimal settings to configure and start ddu.
" Ensure ddu.vim and at least one UI and one source are installed beforehand.
" Set a default UI and basic kind option.
call ddu#custom#patch_global(#{
\ ui: 'ff',
\ })
" Set the default action for file kind
call ddu#custom#patch_global(#{
\ kindOptions: #{
\ file: #{
\ defaultAction: 'open',
\ },
\ },
\ })
" Use substring matcher
call ddu#custom#patch_global(#{
\ sourceOptions: #{
\ _: #{
\ matchers: ['matcher_substring'],
\ },
\ },
\ })
" Open ddu with the file source in the current directory
call ddu#start(#{
\ sources: [#{ name: 'file', params: {} }],
\ })
" Start ddu with a simple source list and optional input.
" Replace 'file' with any installed source name.
:call ddu#start({'name': 'list', 'sources': ['file']})Notes:
- For full documentation, read
:help dduor opendoc/ddu.txt. - If you are unsure which UI or source to install first, see the community topic: https://github.com/topics/ddu-vim
