siyuan-vim: vim motions on siyuan

I vibecoded a very basic integration of vim motions into siyuan:

keyvizMhgRykt5ix.gif

It uses the codemirror's vim-core implementation.

It is still very rudimentary but works for now. If you are interested or have ideas for improvement you can check it out at siyuan-vim

    Welcome to here!

    Here we can learn from each other how to use SiYuan, give feedback and suggestions, and build SiYuan together.

    Signup About
    Please input reply content ...
    • alguadmar

      This is great. I don't know if this can be implemented as a plugin

    • MiscReply
    • Jeff
      VIP Warrior

      wow! Thank you bro!!👍

    • AjaykrishnanR
      Author

      @alguadmar It cant as of now, i am currently hooking the main keydown event, unless siyuan exposes this it cannot be implemented as a plugin.

      The current build is very rudimentary and even has some bugs (especially with codeblocks), since then i have improved and added some more motions visual selection mode. I still have to implement v>, v< shift motions and many more. Once they are locally tested and bug free I'll upload it in the next release.