vmap jk <Esc> don't work
My code : imap jk <Esc> Somebody sad, what can work. But mine don't work.
For what its worth I was able to get the following to work:
inoremap jk <Esc>
inoremap jK <Esc>
inoremap Jk <Esc>
inoremap JK <Esc>
both inoremap and imap worked. The key issue here was that it had to be <Esc> not <esc> atleast for me.
most likely on jk in visual mode there are other settings, in this case it may not work. It does not work for me in this case.
就其价值而言,我能够让以下内容正常工作:
inoremap jk <Esc>inoremap jK <Esc>inoremap Jk <Esc>inoremap JK <Esc>两者都有效。这里的关键问题是,至少对我来说,这一定不是。
inoremap``imap``<Esc>``<esc>
mine can't work
情况
I don't konw Some experts have also mentioned this
Works for me. Have you tried it on the latest versions?
📝 Obsidian v1.8.10 + Vimrc Support v0.10.2 as of this writing.
Also, make sure that the .obsidian.vimrc is inside your vault root. Try the following:
-
Go and check your vault root directory
$ cd /path/to/your/vault \ && ls -A1 .obsidian .obsidian.vimrc Welcome.md -
Make sure it’s
<Esc>and not<esc>. For example:$ grep jj .obsidian.vimrc imap jj <Esc>