Shougo / ddu-ui-filer

File listing UI for ddu.vim
MIT License
55 stars 8 forks source link

feat: add previewExecute action #31

Closed kuuote closed 1 year ago

kuuote commented 1 year ago

I want to add "previewExecute" action, it provides preview window operation to user.

I mainly intend to scrolling preview window.

example

nnoremap <buffer> <nowait> d <Cmd>call ddu#ui#do_action('previewExecute', #{command: "normal! \<C-d>"})<CR>
nnoremap <buffer> <nowait> u <Cmd>call ddu#ui#do_action('previewExecute', #{command: "normal! \<C-u>"})<CR>

See also: https://github.com/Shougo/ddu-ui-ff/pull/100