Vim Marker Sharpener

by Artem Dvoryadkin
5
4
3
2
1
Score: 51/100

Description

The Vim Marker Sharpener plugin brings reliable markdown formatting to users working in Vim mode, especially in VISUAL and VISUAL LINE modes. It provides a set of commands for toggling bold, italic, highlight, strikethrough, code blocks, and comments, with the ability to combine or remove formatting cleanly. The plugin integrates well with custom .vimrc configurations through the Vimrc Support plugin, allowing precise control via leader-key mappings or ex commands. Even non-Vim users can benefit by binding formatting actions to hotkeys. Designed to solve formatting inconsistencies in Vim mode, it streamlines the editing experience for those who rely on modal workflows.

Reviews

No reviews yet.

Stats

6
stars
367
downloads
0
forks
364
days
362
days
367
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
0
total issues
0
open issues
0
closed issues
10
commits

RequirementsExperimental

Latest Version

README file from

Github

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

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:

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>

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
Admonition
5 years ago by Jeremy Valentine
Adds admonition block-styled content to Obsidian.md
Advanced Cursors
5 years ago by SkepticMystic
Advanced Tables
6 years ago by Tony Grosinger
Improved table navigation, formatting, and manipulation in Obsidian.md
Auto pair chinese symbol
5 years ago by renmu123
中文符号自动补齐
Autocorrect Formatter
2 years ago by b-yp
A plugin running on Obsidian that utilizes autocorrect to format Markdown content.
Better Order List
2 years ago by Boninall
Blockquote Levels
4 years ago by Carlo Zottmann
A plugin for Obsidian (https://obsidian.md) that adds commands for increasing/decreasing the blockquote level of the current line or selection(s).
Bottom to Top
2 years ago by Henry Gustafson
Calculite
a year ago by Holo
Standard calculator plugin for Obsidian.
Callout Integrator
3 years ago by
A plugin for Obsidian to allow the integration of long blocks of text into callouts.
Callout Toggles
2 years ago by Aly Thobani
An Obsidian plugin to quickly add, change, or remove callout wrappers in your notes.
Canvas Format Brush
a year ago by wenlzhang
An Obsidian plugin that allows you to copy and paste formatting attributes (size and color) between canvas elements, similar to the format painter in Word.
Capitaliser
3 months ago by Emanuel Oliveira
Cycle text capitalisation (lowercase, Capitalise Each Word, UPPERCASE).
Change Case
3 years ago by David Brockman
Plugin to let you change the case (camelCase, snake_case, etc) of the current selection.
Chat clips
a year ago by sleepingraven
Record chat in ordinary markdown list.
Chorded Hotkeys
4 years ago by Trey Connor Meyers
Type multiple letters at the same time to trigger text insertion, template insertion, or command execution.
cMenu
5 years ago by Chetachi
An Obsidian.md plugin that adds a minimal text editor modal for a smoother writing/editing experience ✍🏽.
Code block from selection
5 years ago by Dmitry Savosh
Obsidian plugin. Adds code block for the selected text.
Code Editor Shortcuts
5 years ago by Tim Hor
Obsidian plugin to add keyboard shortcuts commonly found in code editors such as Visual Studio Code (vscode) or Sublime Text
Custom Commands
a year ago by Staaaaaaaaaan
Create custom commands to be executed in the command palette, and by hotkey. Currently supports opening specific notes, creating notes, inserting snippets, and executing sequences of commands.
Custom list character
3 years ago by Lilian POULIQUEN
Custom list character is a simple plugin allowing you to choose which character to use when making bullet lists in Obsidian.
Cycle In Sidebar
3 years ago by Houcheng
Cycle through tabs of left/ right sidebar panel
Discord Timestamps
2 years ago by Erika Gozar
Displays discord timestamps in read mode as they would appear in Discord.
Duplicate line
a year ago by Marcin Sztolcman
Plugin for Obsidian: duplicate current line, or selection.
Editing Mode Hotkey
2 years ago by Signynt
Obsidian plugin to change the default editing mode (between Live Preview and Source) using a command or hotkey
Editor Commands Remap
5 years ago by cactus5
Obsidian plugin to map hotkeys to editor commands
Emacs text editor
3 years ago by Klojer
Extended Markdown Syntax
a year ago by Kotaindah55
Extend your Markdown syntax using delimiters instead of HTML tags, such as underlining, superscript, subscript, highlighting, and spoiler.
Font Size Adjuster
2 years ago by Ryota Ushio
An Obsidian.md plugin to adjust font size via commands.
Format Hotkeys
5 years ago by Ansel Santosa
Google Docs style formatting hotkeys for Obsidian
Global Hotkeys
4 years ago by Marc Jessome
Global hotkey support for Obsidian.md
Go to Line
5 years ago by phibr0
Heading Level Indent
3 years ago by svonjoi
obsidian plugin for hierarchical structuration of document content based on heading levels
Heading Toggler
2 years ago by Lord Turmoil
Toggle heading levels in Obsidian
heti
2 years ago by Moeyua
HOME key
9 months ago by shichishima
Obsidian Plugin to move cursor to beginning of text, considering Markdown heading characters.
Hotkey Helper
5 years ago by PJ Eby
Easily see and access any Obsidian plugin's options pane or hotkey assignments (including conflicts) from the Community Plugins tab
Hotkeys Chords
4 years ago by Dario Balboni
Hotkeys for Bookmarks
5 years ago by Vinzent
Hotkeys for specific files
5 years ago by Vinzent
Hotkeys for templates
5 years ago by Vinzent
Hotstrings
a year ago by wakywayne
Hyperlink Remover
a year ago by Daniel Agafonov
Easily remove hyperlinks and wikilinks from selected text or the entire note.
Image Helper
2 years ago by Chongmyung Park
Context menu to convert a image to another format in reading view in Obsidian.md
Image Size
a year ago by Jie Zhang
Set the default size for pasted images.
Inline spoilers
2 years ago by logonoff
Adds Discord-like syntax for inline spoilers.
InlineAI
a year ago by FBarrca
Interlinear Glossing
3 years ago by Mijyuoon
An Obsidian plugin for interlinear glosses used in linguistics texts.
Jump to link
6 years ago by MrJackphil
Quick jump between links using hotkeys
Keyboard Analyzer
4 years ago by cogscides
Obsidian plugin to display command hotkeys on a visible keyboard layout
Keyboard Formatter
9 months ago by Lauloque
Formats keyboard text (kbd) in your Obsidian notes quickly and consistently.
Keyshots
3 years ago by KrazyManJ
🔮📝 Obsidian plugin that adds classic hotkey/shortcuts commands from popular IDEs like Visual Studio Code or JetBrains Family.
LaTeX to unicode converter
3 years ago by fjdu
Convert LaTeX commands into unicode sequences
Leader Hotkeys
6 years ago by Tony Grosinger
Use a leader-key (tmux style) for hotkeys in Obsidian.md
Markdown Formatting Assistant
5 years ago by Reocin
This Plugin provides a simple WYSIWYG Editor for Markdown and in addition a command line interface. The command line interface facilitate a faster workflow.
Min3ditorHotkeys
5 years ago by Davor Sauer
Obsidian plugin adding minimal editor hotkeys
Mini Vimrc
3 years ago by Felipe M.
Minimal plugin to add key-biddings to Obsidian
Multi-line Formatting
5 years ago by nmady
Format Obsidian text over an entire selection, even if that selection has paragraph breaks in the middle!
Note Placeholder
a year ago by XZSt4nce
Replaces text of note link to placeholder in view mode.
Open File by Magic Date
4 years ago by simplgy
Open in Cursor
9 months ago by awaken233
An Obsidian plugin to open files in Cursor IDE or other VSCode-based editors (VSCode, Kiro, etc.) with automatic cursor position jumping. 一个可以在 Cursor IDE 或其他类 VSCode 编辑器中打开文件并自动跳转光标位置的 Obsidian 插件。
Open In Other Editor
4 years ago by Yekingyan
Open current active file in gVim or VScode.
Ordered List Style
4 years ago by erykwalder
Paste Mode
5 years ago by Jacob Levernier
Obsidian Notes plugin for pasting text and blockquotes to the cursor's current level of indentation.
Paste Reformatter
a year ago by Keath Milligan
A plugin for Obsidian that reformats pasted HTML and plain text content, giving you precise control over how content is transformed when pasted into your notes.
Rant-Lang
4 years ago by Leander Neiß
Thin wrapper around Rant-Lang for Obsidian.md
Recent Tab Switcher
2 years ago by Samuel Ang
Recent Tab Switcher Plugin for Obsidian.
Remove Newlines
2 years ago by Elias Jaffe
A plugin for Obsidian.md which removes newlines and blank lines from selected or pasted text.
Search Everywhere
4 years ago by Mom0
Obsidian Search Everywhere Plugin
Select word
2 years ago by Connor Espino
Sequence Hotkeys
4 years ago by Ruan Moolman
Obsidian plugin to support a sequenced of keyboard shortcuts to run commands.
Smart Typography
5 years ago by mgmeyers
Converts quotes to curly quotes, dashes to em dashes, and periods to ellipses
Sonkil
10 months ago by ohyoungpark
SupSub
3 years ago by Wjgoarxiv
::SupSub enables wrapping selected text with `<sup>` or `<sub>` tags::
Symbol linking
a year ago by Evan Bonsignori ; Mara-Li
Adds ability to link with any trigger in Obsidian. Each trigger can limit linking to specific folders or file.
Table Extended
5 years ago by AidenLx
Extend basic table in Obsidian with MultiMarkdown table syntax
Text Conversions
3 years ago by Juan D Frias
Text conversions for Obsidian
Toggle Case
3 years ago by automattech
Obsidian plugin to toggle between `lowercase` `UPPERCASE` and `Title Case`
Version History Diff (Sync, File Recovery & Git)
4 years ago by kometenstaub
Get a diff view of your Obsidian Sync, File Recovery and Git version history
Vim IM Control
2 years ago by hideakitai
Obsidian plugin to switch Input Method when "InsertLeave" and "InsertEnter". Supports macOS, Windows, and Linux.
Vim IM Select
4 years ago by Alonelur
Obsidian plugin: vim im select
Vim Yank Highlight
2 years ago by Aleksey Rowan
Highlight yanked text in Vim mode. Enjoy that subtle animation you've missed so much.
Vimium
2 years ago by Karsten Finderup Pedersen
Interact with elements using keyboard shortcuts in the spirit of Vim.
Vimrc Support
6 years ago by esm
A plugin for the Obsidian.md note-taking software
Wrap with shortcuts
4 years ago by Manic Chuang
Wrap selected text in custom tags with shortcuts.
Writing
3 years ago by johackim
Write and format your next book directly from Obsidian