Skip to content

tomato3713/ddu-source-joplin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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