space-vim icon indicating copy to clipboard operation
space-vim copied to clipboard

add minimal vimwiki layer

Open edrex opened this issue 6 years ago • 3 comments

I'd like to add a wiki search keymap. Would I need to do it separately for fzf, ctrl-p etc?

edrex avatar Sep 19 '19 05:09 edrex

dev branch temporary until fix for a key conflict with better-defaults <Leader>ww lands in master: https://github.com/vimwiki/vimwiki/pull/686

edrex avatar Sep 19 '19 05:09 edrex

It seems like it would be nice to use a free prefix for wiki stuff, since I'd like to add a few more shortcuts and w is a bit full with window functionality.

Draft proposal:

  • fzf choose link target: ,wl (in wiki buffers)
  • fzf jump to file: <Leader>Wf
  • wiki full text search: <Leader>Ws

Also vimwiki default mappings support a numerical prefix for the global normal mode bindings, eg 3<Leader>wW to open the index page of the 3rd wiki defined in your config, and it would be nice to support that.

edrex avatar Sep 19 '19 23:09 edrex

I personally don't use vimwiki, feel free to do what you think is right.

liuchengxu avatar Sep 20 '19 03:09 liuchengxu