Navigate Obsidian panes, tabs, and history following Neovim conventions.
Keybinding
Description
Global
<C-w>h/j/k/l
Focus pane left/down/up/right
Yes
<C-w>v
Split vertical
Yes
<C-w>s
Split horizontal
Yes
<C-w>c / <C-w>q
Close current tab
Yes
<C-w>o
Close all other tabs
Yes
gt / gT
Next/previous tab
Yes
Ngt
Go to Nth tab (e.g., 3gt goes to tab 3)
Yes
g<C-t>
Go to tab by number (e.g., 3g<C-t> goes to tab 3)
—
H / L
Previous/next tab (non-editor views only)
Yes
Ctrl-o / Ctrl-i
Navigate back/forward in history (non-editor views)
Yes
gd
Go to definition — open the link under the cursor
—
gD
Open link under cursor in a new tab
—
<C-w>gd
Open link under cursor in a horizontal split
—
<C-w>gD
Open link under cursor in a vertical split
—
gx
Open URL under cursor in browser
—
gf
Open file switcher (quick open)
—
grn
Rename current note
—
grr
Show backlinks to current note
—
gra
Show context-aware actions for cursor position
—
gO
Open document outline (searchable heading list)
—
g<C-g>
Show document statistics (words, lines, characters)
—
gp / gP
Paste and move cursor past pasted text
—
ga
Show character info under cursor (codepoint, hex)
—
g; / g,
Jump to older/newer change position
—
za
Toggle fold at cursor
—
zc / zo
Fold / unfold at cursor
—
zO / zC / zA
Recursive fold open/close/toggle
—
zM / zR
Fold all / unfold all
—
Select mode
Keybinding
Description
gh
Enter select mode (charwise)
gH
Enter select mode (linewise)
g<C-h>
Enter select mode (blockwise)
<C-g>
Toggle between visual and select mode (in visual/select)
gV
Prevent select mode reselection after mapping
Virtual replace mode
Keybinding
Description
gR
Enter virtual replace mode (replace by screen column)
Non-editor view bindings
Navigate and interact with non-editor views like PDFs, graphs, and canvases.
Keybinding
Description
f
Show hint labels, activate target (click/focus/navigate)
F
Show hint labels, open target in new pane
yf
Show hint labels, yank target URL or text to clipboard
df
Show hint labels, close target tab or pane
Nf
Activate N targets sequentially (e.g., 3f activates 3)
j / k
Scroll down/up one line
Nj / Nk
Scroll N lines (e.g., 5j scrolls 5 lines down)
gg
Scroll to top
G
Scroll to bottom
Ctrl-d / Ctrl-u
Scroll half page down/up
Ctrl-f / Ctrl-b
Scroll full page down/up
All non-editor bindings can be customized via gmap, gnoremap, and gunmap in your .obsidian.vimrc. Use :gmap to list all active global bindings. See vimrc > Global key mappings for syntax.
Ex commands
Execute commands via the : command line, grouped by function.