zk-nvim icon indicating copy to clipboard operation
zk-nvim copied to clipboard

Customize fzf preview window

Open lcmen opened this issue 2 years ago • 3 comments

Hey, I'm really sorry to bother you again! I just wanted to ask if it's possible to re-use fzf-preview preview command from .zk/config.toml when displaying notes with ZkNotes command using fzf?

I also use fzf.vim but for some reason built-in bindings to open files in new tab, split and vsplit (CTRL-T / CTRL-X / CTRL-V) don't seem to work. Any idea what I need to configure?

lcmen avatar Feb 08 '22 20:02 lcmen

the bindings are a feature of the pickers in fzf.vim, they are not shared with this plugin.

it's not possible right now to reuse the fzf-preview command in .zk/config.toml.

sorry!

FYI the fzf picker is implemented here: https://github.com/mickael-menu/zk-nvim/blob/main/lua/zk/pickers/fzf.lua

kabouzeid avatar Feb 08 '22 20:02 kabouzeid

Eventually I'd like to expose the zk configuration options through the LSP server.

mickael-menu avatar Feb 16 '22 09:02 mickael-menu

Eventually I'd like to expose the zk configuration options through the LSP server.

That would be great :)

lcmen avatar Feb 16 '22 19:02 lcmen