tomato3713 / ddu-source-joplin

Joplin source and kind for ddu.vim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ddu-source-joplin

Joplin source and kind for ddu.vim.

Required

denops.vim

https://github.com/vim-denops/denops.vim

ddu.vim

https://github.com/Shougo/ddu.vim

ddu-kind-joplin

ddu-source-joplin collects and passes items of the 'joplin' kind, so requires a 'joplin' kind plugin.

https://github.com/tomato3713/ddu-kind-joplin

Joplin

https://github.com/laurent22/joplin/

Configuration

Replace JOPLIN_TOKEN_XXXX with Auth token. Open configuration screen with Ctrl + , or Cmd + ,. Go to the Web Clipper tab and copy the Auth Token.

call ddu#custom#patch_global(#{
    \   sources: [
    \       #{name: 'joplin'},
    \   ],
    \   sourceParams: #{
    \     joplin: #{ 
    \       token: 'JOPLIN_TOKEN_XXXX',
    \       fullPath: v:true,
    \     },
    \   },
    \   kindOptions: #{
    \     joplin: #{
    \       defaultAction: 'open',
    \     },
    \   },
    \ })

Author

tomato3713

About

Joplin source and kind for ddu.vim


Languages

Language:TypeScript 100.0%