Are you happy with your logging solution? Would you help us out by taking a 30-second survey? Click here


Live markdown preview for Vim on macOS

Subscribe to updates I use vim-xmark

Statistics on vim-xmark

Number of watchers on Github 104
Number of open issues 3
Average time to close an issue 2 days
Main language CSS
Average time to merge a PR about 11 hours
Open pull requests 0+
Closed pull requests 0+
Last commit about 2 years ago
Repo Created over 4 years ago
Repo Last Updated over 1 year ago
Size 46 KB
Organization / Authorjunegunn
Page Updated
Do you use vim-xmark? Leave a review!
View open issues (3)
View vim-xmark activity
View on github
Fresh, new opensource launches 🚀🚀🚀
Trendy new open source projects in your inbox! View examples

Subscribe to our mailing list

Evaluating vim-xmark for your project? Score Explanation
Commits Score (?)
Issues & PR Score (?)


Markdown preview on OS X. Uses AppleScript to resize the windows.

Vim 8 is required for asynchronous rendering.


Xmark> on iTerm2

Xmark< on MacVim


Xmark requires Homebrew and Google Chrome.


Using vim-plug:

Plug 'junegunn/vim-xmark', { 'do': 'make' }


:Xmark command is added for Markdown files. After running the command, the rendered content will be reloaded on the browser every time you save the file.

" Does not resize nor move the windows

" Vim on the left, browser on the right

" On the left

" On the top

" On the bottom

" Reload the page and resize the windows by saving it

" Turn off Xmark

If you see an error (e.g. osascript is not allowed assistive access), make sure that your terminal emulator (or MacVim) is in the list in System Preferences -> Security & Privacy -> Privacy -> Accessibility. (You can drag and drop the application icon to the list.)

Known issues

  • Resizing does not work if the terminal emulator is in fullscreen mode




vim-xmark list of languages used
Other projects in CSS