Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Vim Marker Sharpener

artemdvoryadkinartemdvoryadkin448 downloads

Text formatting commands in Vim mode. Supports applying styles (bold, italic, etc.). Works correctly in visual mode with selected text.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates5

для понимающий Русский

Just a Teaser

[!Tip]
This plugin works correctly with text selection
in VIM mode:

  • VISUAL
  • VISUAL LINE

Vim Marker Sharpener

There are tons of plugins that do similar things or even the same. So why create this one?

This plugin works properly in VIM VISUAL mode.
You can configure your vimrc and use a leader key combo to format selected text as bold, italic, and more via a command list.

If you're not a VIM user, check out what the plugin can do — it enhances the basic text formatting functionality.

We Couldn't, Now We Can

  • Commands for formatting as bold – highlight – italic – strikethrough – code – comments
  • Combine multiple formatting styles
  • Remove formatting from a selected block
  • Delete formatting
  • Format a word in NORMAL mode
  • ...and more I forgot to mention

Here's How It Works

Planned Features

  • Proper support for non-vim selection mode
  • clear format command
  • Jump to next formatting
  • Format the formatting (meta!)
  • Format part of a sentence, or the whole sentence

Installation & Usage

For regular users, the plugin also works — you just need to bind the plugin's commands to hotkeys and enjoy the formatting process.

For ❤️ Vimers ❤️

The plugin shines when you create a .vimrc file. To do this, install this plugin:

  • Vimrc Support https://github.com/esm7/obsidian-vimrc-support

Implements .vimrc behavior.
By default, the file should be located at: path/to/VaultName/.obsidian.vimrc — this is configurable in Vimrc Support settings.

You’ll need to create a VIM command for each plugin command.

Here’s an example .vimrc to format text as bold.
In VISUAL or VISUAL LINE mode, pressing !b or <Space>b will format the selected text as bold.
In normal mode, use <Space>efb.

" bold 
exmap toggleBoldCommand obcommand vim-marker-sharpener:toggle-bold
map <Space>efb :toggleBoldCommand<CR>
vmap <Space>b :toggleBoldCommand<CR>
vmap !b :toggleBoldCommand<CR>

And here's a full example of my .vimrc for all commands:

" bold 
exmap toggleBoldCommand obcommand vim-marker-sharpener:toggle-bold
map <Space>efb :toggleBoldCommand<CR>
vmap <Space>b :toggleBoldCommand<CR>
vmap !b :toggleBoldCommand<CR>

" highlight
exmap toggleHighlightCommand obcommand vim-marker-sharpener:toggle-highlight
map <Space>efh :toggleHighlightCommand<CR>
vmap !h :toggleHighlightCommand<CR>
vmap <Space>h :toggleHighlightCommand<CR>

" italic
exmap toggleItalicCommand obcommand vim-marker-sharpener:toggle-italic
map <Space>efi :toggleItalicCommand<CR>
vmap !i :toggleItalicCommand<CR>
vmap <Space>i :toggleItalicCommand<CR>

" strikethrough
exmap toggleStrikethroughCommand  obcommand vim-marker-sharpener:toggle-strikethrough
map <Space>efs :toggleStrikethroughCommand<CR>
vmap !s :toggleStrikethroughCommand<CR>
vmap <Space>s :toggleStrikethroughCommand<CR>

" code 
exmap toggleCodeCommand obcommand vim-marker-sharpener:toggle-code
map <Space>efc :toggleCodeCommand<CR>
vmap !c :toggleCodeCommand<CR>
vmap <Space>c :toggleCodeCommand<CR>

" comments
exmap toggleCommentComment obcommand vim-marker-sharpener:toggle-comment
map <Space>efm :toggleCommentComment<CR>
vmap !m :toggleCommentComment<CR>
vmap <Space>m :toggleCommentComment<CR>
HealthGood
ReviewCaution
About
Format selected text in VIM VISUAL and VISUAL LINE modes as bold, italic, strikethrough, code, or comment with a single command. Combine multiple styles, strip formatting, and trigger formatting from NORMAL mode or via vim leader keys and hotkeys.
VimFormattingCommands
Details
Current version
0.2.7
Last updated
Last year
Created
Last year
Updates
5 releases
Downloads
448
Compatible with
Obsidian 0.15.0+
Platforms
Desktop only
License
MIT
Report bugRequest featureReport plugin
Sponsor
Support
Author
artemdvoryadkinartemdvoryadkin
GitHubartemdvoryadkin
  1. Community
  2. Plugins
  3. Vim
  4. Vim Marker Sharpener

Related plugins

Sort and Permute lines

Sort and Permute lines in whole file or selection.

Vimrc Support

Auto-load a startup file with Vim commands.

Callout Toggles

Instantly add, switch, or remove callouts in your notes. Provides a separate command for every callout type.

Find orphaned files and broken links

Find files that are not linked anywhere and would otherwise be lost in your vault. In other words: files with no backlinks.

Quick Switcher++

Enhanced Quick Switcher, search open panels, and symbols.

Commander

Customize your workspace by adding commands everywhere, create macros and supercharge your mobile toolbar.

Admonition

Admonition block-styled content.

Note Toolbar

Add customizable toolbars to your notes.

Creases

Tools for effectively folding Markdown sections.

Tab Switcher

Switch your tabs with Ctrl + Tab in recently used order like in a browser.