vipzhicheng / logseq-plugin-vim-shortcuts

Add part of VIM key bindings experience to Logseq
MIT License
343 stars 17 forks source link

[Bug] Insert xml tag `mark` after pressing enter with `/` command #18

Closed waynewaynetsai closed 2 years ago

waynewaynetsai commented 2 years ago

Description

Insert xml tag mark after pressing enter with / command

Screen Shot

  1. Search Word with / command

    image

  2. Pressing enter: unexpected insert xml tag mark

image

Zumh commented 2 years ago

Temporary fix > After search with / and enter "u" key for undo the highlight or xml tag. This is probably a feature lol! ahhaaa

vipzhicheng commented 2 years ago

The search feature is an experimental feature, I still find a better solution for this. For the flaw, I provider a command in Palette (mod+shift+p), "Search Cleanup"

vipzhicheng commented 2 years ago

Please upgrade and test if it is solved now.

waynewaynetsai commented 2 years ago

Please upgrade and test if it is solved now.

Version: v0.1.13 Environment: MacOS Monterey v12.5

I've test this feature with upgrading plugin(v0.1.13). After upgrading, i can not search text correctly after pressing enter.

Thinks for your reply!

vipzhicheng commented 2 years ago

I still do not know when the declaration take effect, but the Logseq Team give me an advice, and it works for me .

Two steps.

  1. Uninstall the plugin.
  2. Open developer tool which is cmd+alt+i on Mac, then run the scripts below in Console.
logseq.api.__install_plugin({id:"logseq-vim-shortcuts", repo: "vipzhicheng/logseq-plugin-vim-shortcuts", theme: false, effect: true})
waynewaynetsai commented 2 years ago

I still do not know when the declaration take effect, but the Logseq Team give me an advice, and it works for me .

Two steps.

  1. Uninstall the plugin.
  2. Open developer tool which is cmd+alt+i on Mac, then run the scripts below in Console.
logseq.api.__install_plugin({id:"logseq-vim-shortcuts", repo: "vipzhicheng/logseq-plugin-vim-shortcuts", theme: false, effect: true})

Thanks for your quick reply!
I reinstall the plugin with above steps. And the problem has been fixed at v0.1.14!

Duplicate Issue: https://github.com/vipzhicheng/logseq-plugin-vim-shortcuts/issues/23