-
Notifications
You must be signed in to change notification settings - Fork 60
Open
Description
Please Review Before Posting!
- I checked that the bug does not happen in the CodeMirror Vim demo. If it does, please report it there and not here.
- I'm reasonably sure that this bug is indeed about the Vimrc file support and not a general Vim in Obsidian issue. If it's a general Vim issue, report it here.
Describe the bug:
Tried to remap jk to but it doesn't work.
To Reproduce:
- Turned on Vim Mode in my Obsidian
- Installed Obsidian-vimrc plugin
- Create a file:
Vault/.obsidian.vimrc(near the.obsidiandirectory) and put folllowing contents:
inoremap jk <Esc>
inoremap jj <Esc>
inoremap kk <Esc>
inoremap JK <Esc>
- Restarted Obsidian
So vim mode workes fine, it goes to Insert mode fine with i but remapping doesn't work, as I can't leave the insert mode with those key bindings. Tried with both inoremap and imap.
How do I check if the .obsidian.vimrc loaded properly?
Environment (please complete the following information):
- OS: Android 13
- Vimrc plugin version: 0.10.2
Additional context:
n/a
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels