Hello,
I recently enabled vim mode in Obsidian for the first time, and overall I’m very satisfied. However, I noticed some minor issues. Let me know if I should split these into separate posts.
Things that I noticed that are clearly bugs:
- Commands involving
[
, likef[
,t[
,r[
orvi[
don’t work. Maybe it’s because I’m using a Finnish keyboard layout, where[
is typed by pressing alt-gr + 8? Similarly for]
. - similarly,
f\
doesn’t work,\
is alt-gr ++
on my keyboard. -
f$
doesn’t jump to the next dollar symbol, but instead jumps to the end of the row (as if I just pressed$
). Again,$
is alt-gr + 4. -
f}
jumps to the next paragraph instead of the next bracket symbol.}
is is alt-gr + 0 on my keyboard. Same with{
. - navigating using
j
/k
doesn’t enter multiline equations ($$ ... $$
). I can only edit such equations by going to insert mode and using the arrow keys. I see that a similar bug was fixed in v0.14.3. - Jumping to the first letter of backticked text with
f
is one character off. For example if I place my cursor somewhere beforefoo
(that is in backticks), thenff
jumps to the first backtick, even thoughff
should place the cursor on top off
.fo
jumps correctly to the firsto
offoo
. Similarly, if I place my cursor after the word,Ff
jumps to the first backtick, butFo
works correctly.
Things that I didn’t expect to work, but would be nice:
-
:sp
and:vsp
to split panes horizontally/vertically -
:x
or:q
to close a pane -
vi$
to select inside dollar signs (when typing LaTeX). This is not standard vim, but would still be nice. -
gf
to follow links
These are all in live preview mode.
As said, these are mostly minor annoyances and overall I’m just very happy that vim mode is built-in. Keep up the good work!
Environment
- Operating system: Ubuntu 20.04
- Debug info:
SYSTEM INFO:
Obsidian version: v0.14.5
Installer version: v0.12.15
Operating system: #44~20.04.1-Ubuntu SMP Thu Mar 24 16:43:35 UTC 2022 5.13.0-39-generic
Login status: logged in
Catalyst license: insider
Insider build toggle: off
Live preview: on
Legacy editor: off
Base theme: dark
Community theme: none
Snippets enabled: 0
Safe mode: on
RECOMMENDATIONS:
none