Skip to content

docs: add VIM integration instructions for leaf#124

Merged
RivoLink merged 1 commit into
RivoLink:mainfrom
111110100:vim-integration
May 12, 2026
Merged

docs: add VIM integration instructions for leaf#124
RivoLink merged 1 commit into
RivoLink:mainfrom
111110100:vim-integration

Conversation

@111110100
Copy link
Copy Markdown
Contributor

  • This PR adds integration instructions for using leaf with VIM, including keybindings.

Vim Integration

Add the following to your ~/.vimrc to preview the current Markdown file in a vertical split:

" Preview the current Markdown file in a vertical split using leaf
nnoremap <Leader>md :vertical botright terminal leaf -w %<CR>

Once added, use \md to open a live preview. To switch focus back to the Markdown buffer, press Ctrl+w,h.

@RivoLink
Copy link
Copy Markdown
Owner

Thank you so much.

@RivoLink RivoLink merged commit c79b8ae into RivoLink:main May 12, 2026
1 check passed
@111110100 111110100 deleted the vim-integration branch May 12, 2026 07:23
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