Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add minimal vimwiki layer #437

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

edrex
Copy link

@edrex edrex commented Sep 19, 2019

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

@edrex
Copy link
Author

edrex commented Sep 19, 2019

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

@edrex
Copy link
Author

edrex commented Sep 19, 2019

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
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