I just collapsed the composer twelve times by accident because I keep instinctively hitting the escape key when I want to get out of insert mode and move the cursor around. Has anyone played around with creating a pluigin that would let users switch the composer into vim mode?
6 个赞
Love this idea.
In my case, I’m actually typing this reply in in Vim mode.
Not perfect, but you can install it right now.
4 个赞
This is very interesting, except for the absolutely horrendous sounds
the one thing you do miss out about big time is @mention support and :emoji.
Seems to work though for the diehards!
Haha… It’s a version of vi so it must not be usable without customizing the .rc file…
set nolaunchbell is what you’re looking for.
For me:
" exrc for wasavi
" https://github.com/akahuku/wasavi/wiki/All-Options-which-wasavi-recognizes
set ts=4
set sw=4
set ai
set et
set nu
set bellvolume=5
set nolaunchbell
set visualbell
set theme=matrix
map! <C-V> <esc>"*pa
1 个赞
这真的很棒。感谢分享!
由于 discourse 编辑器内置了 md 支持,所以你可以用 vi 模式写任意多的 markdown。
