Vim Cheatsheet

by Rafael Mehdiyev
5
4
3
2
1
New Plugin

Description

This plugin has not been manually reviewed by Obsidian staff. Searchable, categorized vim command reference inside app. Works alongside the built-in vim key bindings.

Reviews

No reviews yet.

Stats

stars
downloads
0
forks
0
days
NaN
days
NaN
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
0
total issues
0
open issues
0
closed issues
0
commits

Latest Version

Invalid date

Changelog

README file from

Github

Vim Cheatsheet for Obsidian

A searchable vim command reference that lives inside Obsidian. Stop alt-tabbing to a browser tab every time you forget a motion, just open the cheatsheet with a hotkey, find what you need, and get back to writing.

Modal view showing search results for "delete"


Why this exists

Obsidian has built-in vim key bindings, but no built-in way to look up what those bindings actually are. This plugin adds a reference panel that is always one keypress away.


Features

Over 150 commands covering motions, operators, text objects, visual mode, search, marks, scrolling, and insert shortcuts. Filter by category, navigate with arrow keys, or just type to search. The search matches each word separately, so delete line finds dd, D, d$, and more.

Two ways to open it: as a floating modal you dismiss with Esc, or docked as a sidebar you leave open while you work. Both pick up your Obsidian theme automatically. Examples are shown under each command and can be turned off in settings. Works on mobile.


Screenshots

Modal mode — open with a hotkey, search, dismiss with Esc

Modal popup

Sidebar mode — stays open while you edit

Sidebar panel

Search

Search demo

Settings

Settings tab


Installation

  1. Open Settings → Community plugins → Browse
  2. Search for Vim Cheatsheet
  3. Click Install, then Enable

Usage

Opening the cheatsheet

Method Result
Icon in the left ribbon Opens modal
Command palette → Open Vim Cheatsheet in Modal Opens modal
Command palette → Open Vim Cheatsheet in Sidebar Opens sidebar panel
Custom hotkey Assign at Settings → Hotkeys, search "Vim Cheatsheet"

Each word in your query has to appear somewhere in the command or its description.

Query Finds
delete line dd, D, d$, cc, S
jump word w, W, b, B, e, ge
yank yy, Y, y{motion}
insert end A
backtick ci`, di` — useful for editing markdown inline code

Settings

Go to Settings → Vim Cheatsheet to toggle examples on or off, and to hide any categories you never use. To assign hotkeys to either command, go to Settings → Hotkeys and search "Vim Cheatsheet".


Contributing

Bug reports and pull requests welcome at github.com/rafaelmehdiyev/obsidian-vim-cheatsheet.


License

MIT