Skip to content
/ ddu.vim Public
forked from Shougo/ddu.vim

Dark deno-powered UI framework for neovim/Vim8

License

Notifications You must be signed in to change notification settings

kuuote/ddu.vim

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ddu.vim

Note: It is alpha version!! You should not use it yet.

Dark deno-powered UI framework for neovim/Vim8

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.

Doc

Please read help for details.

Ddu is the abbreviation of "dark deno-powered UI". It provides an extensible and asynchronous UI framework for neovim/Vim8.

The development is supported by github sponsors. Thank you!

Introduction

I have chosen denops.vim framework to create new plugin. Because denops.vim is better than neovim Python interface.

  • Easy to setup
  • Minimal dependency
  • Stability
  • neovim/Vim8 compatibility
  • Speed
  • Library
  • Easy to hack

Install

Note: Ddu.vim requires Neovim (0.5.0+ and of course, latest is recommended) or Vim 8.2.0662. See requirements if you aren't sure whether you have this.

For vim-plug

call plug#begin()

Plug 'Shougo/ddu.vim'
Plug 'vim-denops/denops.vim'

" Install your UIs

" Install your sources

" Install your filters

" Install your kinds

call plug#end()

For dein.vim

call dein#begin()

call dein#add('Shougo/ddu.vim')
call dein#add('vim-denops/denops.vim')

" Install your UIs

" Install your sources

" Install your filters

" Install your kinds

call dein#end()

Note: Ddu.vim does not include any UIs, sources, filters and kinds. You must install them you want manually. You can search ddu plugins(sources and filters) from here.

Requirements

Ddu.vim requires both Deno and denops.vim.

Configuration

" You must set the default ui in the first
call ddu#custom#patch_global({
    \ 'ui': 'std',
    \ })

" Set default sources
"call ddu#custom#patch_global({
"    \ 'sources': [{'name': 'file', 'params': {}}],
"    \ })

" Call default sources
"call ddu#start({})

" Set name specific configuration
"call ddu#custom#patch_local('files', {
"    \ 'sources': [
"    \   {'name': 'file', 'params': {}},
"    \   {'name': 'file_old', 'params': {}},
"    \ ],
"    \ })

" Specify name
"call ddu#start({'name': 'files'})

" Specify source with params
"call ddu#start([{'name': 'file_rec', 'params': {'path': expand('~')}}])

See :help ddu-options for a complete list of options.

Screenshots

Plans

About

Dark deno-powered UI framework for neovim/Vim8

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 80.6%
  • Vim Script 18.6%
  • Makefile 0.8%