Vim Motions’ visual elements — EasyMotion labels, hint mode labels, the powerline status bar and the fuzzy picker — can be customized via CSS custom properties or the Style Settings plugin.
CSS custom properties
Add a CSS snippet in Settings → Appearance → CSS snippets to override colors:
EasyMotion labels
body {
--vim-motions-em-bg: #e06c75; /* label background */
--vim-motions-em-fg: #ffffff; /* label text color */
}Hint mode labels
body {
--vim-motions-hint-bg: #61afef; /* label background */
--vim-motions-hint-fg: #ffffff; /* label text color */
}Powerline status bar
body {
--vim-pl-normal-bg: #a3be8c;
--vim-pl-normal-fg: #ffffff;
--vim-pl-insert-bg: #88c0d0;
--vim-pl-insert-fg: #ffffff;
--vim-pl-visual-bg: #b48ead;
--vim-pl-visual-fg: #ffffff;
--vim-pl-v-line-bg: #b48ead;
--vim-pl-v-line-fg: #ffffff;
--vim-pl-v-block-bg: #b48ead;
--vim-pl-v-block-fg: #ffffff;
--vim-pl-replace-bg: #bf616a;
--vim-pl-replace-fg: #ffffff;
--vim-pl-select-bg: #b48ead;
--vim-pl-select-fg: #ffffff;
--vim-pl-vreplace-bg: #bf616a;
--vim-pl-vreplace-fg: #ffffff;
--vim-pl-command-bg: #88c0d0;
--vim-pl-command-fg: #ffffff;
--vim-pl-search-bg: #88c0d0;
--vim-pl-search-fg: #ffffff;
}All these properties are configurable via the Style Settings plugin with separate light and dark mode defaults.
Picker
The fuzzy picker’s fonts, sizes and layout follow these properties. Leave one unset and it keeps the picker’s default:
body {
--vim-motions-picker-font: var(
--font-interface
); /* results font, default monospace */
--vim-motions-picker-font-size: 14px; /* results label size, default 13px */
--vim-motions-picker-preview-font-size: 13px; /* preview text, default 12px */
--vim-motions-picker-width: 70vw; /* default: Obsidian's dialog width */
--vim-motions-picker-height: 60vh; /* list and preview height, default 50vh */
--vim-motions-picker-results-width: 40%; /* results beside the preview, default 25-30% */
}Add the class vim-motions-picker-truncate to body to end long names with an ellipsis instead of wrapping them. The Style Settings plugin offers all of these, plus that toggle, under Picker.
Picker file icons
:files, :buffers and :recent show an icon for each file’s type, painted in a theme colour so it follows light and dark themes. Each type’s icon and colour can be replaced:
body {
--vim-motions-icon-pdf-color: var(--color-orange);
--vim-motions-icon-markdown: url('data:image/svg+xml,...'); /* any SVG */
}The types are file (anything not listed), markdown, canvas, base, excalidraw (including .excalidraw.md drawings), pdf, image, svg, audio, video, table, json, text, html, css, javascript, typescript, python, archive, word, presentation and epub. An icon is used as a mask, so only its shape counts and the colour variable paints it. Add vim-motions-picker-mono-icons to body to paint every icon in the muted text colour, or vim-motions-picker-no-icons to hide them. Both are toggles under Picker in Style Settings.
The icons come from Material Icon Theme (MIT), and canvas and base use Obsidian’s own Lucide icons (ISC). The licence notices are in styles.css.
Style Settings plugin
If you have the Style Settings plugin installed, Vim Motions exposes its color properties in the Style Settings panel with separate light and dark mode defaults, and the picker’s fonts, sizes and layout under Picker. No CSS snippets needed — configure colors directly in the UI.
Label font size
EasyMotion and hint mode labels share a configurable font size (10–20px, default: 14). Set via Settings → Vim Motions → Jump navigation → Label font size or set labelfontsize=16 in vimrc.
Label characters
Customize which characters are used for labels:
- EasyMotion: Settings → Vim Motions → Jump navigation → EasyMotion label characters or
set easymotionlabels=...in vimrc. Default:asdghklqwertyuiopzxcvbnmfj(home-row-first ordering). - Hint mode: Settings → Vim Motions → Jump navigation → Hint mode label characters or
set hintlabels=...in vimrc. Default:asdfghjkl.