Skip to content

Instantly share code, notes, and snippets.

@4513ECHO
Created March 27, 2023 14:32
Show Gist options
  • Save 4513ECHO/3edc3df0d01a5e5573d7bfceb199c20e to your computer and use it in GitHub Desktop.
Save 4513ECHO/3edc3df0d01a5e5573d7bfceb199c20e to your computer and use it in GitHub Desktop.
set rtp^=~/.cache/nvim/dein/repos/github.com/vim-denops/denops.vim
set rtp^=~/.cache/nvim/dein/repos/github.com/vim-skk/skkeleton
set rtp^=~/.cache/nvim/dein/repos/github.com/Shougo/pum.vim
set rtp^=~/.cache/nvim/dein/repos/github.com/Shougo/ddc.vim
set rtp^=~/.cache/nvim/dein/repos/github.com/Shougo/ddc-ui-pum
inoremap <C-j> <Plug>(skkeleton-toggle)
inoremap <C-n> <Cmd>call pum#map#select_relative(+1)<CR>
call skkeleton#config(#{
\ eggLikeNewline: v:true,
\ debug: v:true,
\ })
call ddc#custom#patch_global(#{
\ ui: 'pum',
\ sources: ['skkeleton'],
\ sourceOptions: #{
\ skkeleton: #{
\ matchers: ['skkeleton'],
\ sorters: [],
\ converters: [],
\ minAutoCompleteLength: 1,
\ isVolatile: v:true,
\ },
\ },
\ })
call ddc#enable()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment