Skip to content

add minimal vimwiki layer#437

Open
edrex wants to merge 3 commits into
liuchengxu:masterfrom
edrex:layer-vimwiki
Open

add minimal vimwiki layer#437
edrex wants to merge 3 commits into
liuchengxu:masterfrom
edrex:layer-vimwiki

Conversation

@edrex

@edrex edrex commented Sep 19, 2019

Copy link
Copy Markdown

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

@edrex

edrex commented Sep 19, 2019

Copy link
Copy Markdown
Author

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

Comment thread layers/+writing/vimwiki/config.vim Outdated
@edrex

edrex commented Sep 19, 2019

Copy link
Copy Markdown
Author

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.

@liuchengxu

Copy link
Copy Markdown
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants