Open einarpersson opened 5 days ago
There should be no leader key. What is :obcommand, is that when you enable Vim in Obsidian to execute commands? What platform are you on?
It could maybe be a conflict with other keys in Vim mode if it also takes the keys. I will test this in the weekend. You can also test it by disabling Vim and vimrc and reloading Obsidian.
:obcommand
comes from https://github.com/esm7/obsidian-vimrc-support?tab=readme-ov-file#executing-obsidian-commands-with-obcommand and is just a way to invoke obsidian commands, sorry for that confusion.
Yes, I'll check around for potential conflicts.
Hi I was able to reproduce your problem. It is when you are inside a file and have enabled Settings > Editor > Vim. It takes the keys and Vimium can't get them. This does not happen when you are in the editor and Vim is turned off. I am not sure if its possible to take precedence over the editor and Vim setting when the Vimium: Show markers
is running, but I don't think so. I can maybe look into it at some point.
I feel like you could use vimrc support to create shortcuts yourself to run commands you use often.
I have renamed the issue so other people can find it, if they maybe have any ideas on how to fix this.
Ok, good that you were able to reproduce it! I hope that you can find a way to solve it, it would be great if these vim-isch modes/tools would work well together. I won't be able to use this plugin if it requires me to inactivate vim mode!
I don't understand what you mean with _"I feel like you could use vimrc support to create shortcuts yourself to run commands you use often.".
I unfortunately haven't done much plugin development so I don't have much input atm:/
Ok, good that you were able to reproduce it! I hope that you can find a way to solve it, it would be great if these vim-isch modes/tools would work well together. I won't be able to use this plugin if it requires me to inactivate vim mode!
I don't understand what you mean with _"I feel like you could use vimrc support to create shortcuts yourself to run commands you use often.".
I unfortunately haven't done much plugin development so I don't have much input atm:/
I haven't used Vimrc Support but in vim, the text editor, you can create keybinds. On the Vimrc Support Github they show how to map keys: https://github.com/esm7/obsidian-vimrc-support?tab=readme-ov-file#supported-commands
I think we are talking past each other:) I have many custom keybindings, yes. I just didn't see how it could be used to create a workaround for the issue here, if that was what you meant.
I know how to activate the marker mode. It is what happens next that is the problem. I want to press SK or LL or whatever.
I think we are talking past each other:) I have many custom keybindings, yes. I just didn't see how it could be used to create a workaround for the issue here, if that was what you meant.
I know how to activate the marker mode. It is what happens next that is the problem. I want to press SK or LL or whatever.
Hi! I just started using vimium and was very happy to find your plugin. I have installed it and tried it using
:obcommand vimium:show-markers
. The link markers are shown, but nothing happens when I write the shortcut.Thanks and hope you'll keep maintaining this. Link markers was the missing piece for me.