You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks so much for the contribution. I love it overall. I do have an issue with triggering some useful keyboard shortcuts that originally comes with some apps. for example, in PowerPoint, if I select a word using the following vim command 'vw'. It goes from normal to visual mode as expected. However, If I now want to bold the selected text by pressing 'Ctrl + b', it doesn't work as expected. I believe it works under normal mode if I choose to ignore all unused keys in your setting. but there is no such corresponding setting under visual mode. Can you please enable that?
The text was updated successfully, but these errors were encountered:
It seems difficult problem because Ctrl+b is an one of common move shortuct keys of Vim.
In Normal/Visual modes, these movement shortcuts keys are enabled.
Maybe we can implement a key bind which disable vim_ahk for one time.
(Like Ctrl+o to enable normal mode in Vim, but reversed)
Although it may take a time to see such a new function,
if you want to fix a.s.a.p.,
here is a manual fix procedure:
#If WinActive("ahk_exe POWERPNT.exe") and (Vim.State.StrIsInCurrentVimMode("Visual"))^b:: Send, ^b
#If
This overwrites Ctrl+b behavior in Visual mode on PoerPoint.
If you want to enable Ctrl+b to change the bold status for all apps,
please try following code:
#If Vim.IsVimGroup() and (Vim.State.StrIsInCurrentVimMode("Visual"))^b:: Send, ^b
#If
Thanks for the suggestion and explanation, really appreciate it. Before seeing you comments, I ended up just commenting out the ^b shortcut entirely at file vim_move.ahk. I decided to do that since I usually use gg to go to the top anyway. (let me know if ^b does anything different from gg though)
Thanks so much for the contribution. I love it overall. I do have an issue with triggering some useful keyboard shortcuts that originally comes with some apps. for example, in PowerPoint, if I select a word using the following vim command 'vw'. It goes from normal to visual mode as expected. However, If I now want to bold the selected text by pressing 'Ctrl + b', it doesn't work as expected. I believe it works under normal mode if I choose to ignore all unused keys in your setting. but there is no such corresponding setting under visual mode. Can you please enable that?
The text was updated successfully, but these errors were encountered: