

and some vim like commands are available. The default settings of vim_ahk.) Main ModesĪs in vim, a cursor is moved by hjkl, w, etc. Reset will restore your options in the script in addition to Your VimXXX options in your script described above. These default settings are overwritten by These settings will be enabled only if you push OK button. If you push Reset, default settings will be shown in the window. Here, you can add applications, change the mode change key, You can change these options from the right click menu of task tray icon When this option is enabled, the current window briefly loses focus when the mode is changed. On Notepad or Explorer, the caret width is kept but does not change.įor the most of other applications, the caret width is kept as original width. When you change the mode, or change the applications to vim_ahk enabled or not enabled ones.Ĭaret width can be changed only on the specific applications: Wordpad, Word, or OneNote. If you set VimIconCheckInterval as non-zero, the tray icon is changed If you want to change them directly in the vim.ahk script,Īdd these variable before Vim := new VimAhk(). You can add your options before including vim.ahk in your script Deny List: Use the application list as a deny list.Īpplications on witch vim_ahk is enabled.Allow List: Use the application list as an allow list.All: Enable vim_ahk on all applications (the applicatoin list is ignored).Debug mode with a message box, which doesn't disappear automatically.Minimum tooltip (mode information only).If it is set to 0, the original AHK icon is set and not changed. Interval to check vim_ahk status (ms) and change tray icon (see below picture). Fast: Text is not detected for such edit control.Disable all including keys with modifiers (e.g.jf,jk,sd)ĭisable level of unused keys in other than the insert mode: Multiple combination can be set by separated by. If 1, jj changes the mode to the normal mode from the insert mode.Ī list of character pairs to press together during the insert mode to get to the Normal mode.įor example, a value of jf means pressing j and f at the same time will enter the Normal mode. If 1, IME status is restored at entering the insert mode. If 1, when entering normal mode, sets the text cursor/caret to a thick bar, then sets back to thin when exiting normal mode. If 1, short press and long press of Ctrl-[ behaviors are swapped. If 1, short press Ctrl-[ send Ctrl-[ in the normal mode. If 1, pushing Ctrl-[ sets the normal mode, while long press Ctrl-[ sends Ctrl-[. If VimCtrlBracketNormal is 1, long press Ctrl-[ sends ESC. If VimCtrlBracketNormal is 0, Ctrl-[ sends ESC. If 1, short press and long press of ESC behaviors are swapped. If 1, short press ESC send ESC in the normal mode. If 1, short press ESC sets the normal mode, while long press ESC sends ESC. There are following options which you can set in your script.Īll of these can be changed from setting menu, too. LibreOffice: ahk_exe soffice.bin (for all LibreOffice applications).(most of applications installed from Microsoft Store). Vim_ahk also works on other applications which use these Class/Process name If you add any of above lines to VimGroup, vim_ahk works on OneNote.īut if you set ahk_class ApplicationFrameWindow or ahk_exe ApplicationFrameHost.exe, (Window title/class can be checked by Window spy of AutoHotkey), Variable before Vim := new VimAhk() in vim.ahk If you want to change applications directly in the script, add VimGroup Or launch the setting window by Ctrl-Alt-Shift-v. You can change them from the right click menu of task tray icon Applications using ahk_exe ApplicationFrameHost.exe.The default setting enables vim-mode for the following applications: You will find vim_ahk folder which contains vim_ahk.exe and vim_ahk_icons. \build.bat on PowerShell or Command Prompt. Build executable from the sourceĬlone vim_ahk and go vim_ahk folder, and run build.bat. Otherwise the tray menu icon feature does not work. 📝 place vim_ahk_icons folder in the same folder with vim_ahk.exe,
Run autohotkey script at startup zip#
Unzip the zip file, and place the extracted vim_ahk folder where you like, To get executable, go to the releases page You can also use vim_ahk.exe, which can work standalone w/o AutoHotKey.
