You can operate Windows with key bindings like Vim.
sleep
command. (#169, #209)
https://pit-ray.github.io/win-vind/cheat_sheet/functions/#sleep
5gs
.I added the following commands. (#89, #100) (#108)
command | syntax |
---|---|
autocmd |
[au]tocmd {event} {aupat} {cmd} |
autocmd! |
[au]tocmd! {event} {aupat} {cmd} |
See its document for details. https://pit-ray.github.io/win-vind/cheat_sheet/functions/#autocmd_add
It adds {cmd}
into autocmd list for {aupat}
, autocmd pattern, corresponding to {event}
. As such as Vim, this function does not overwrite but append {cmd}
into a list even if the same {cmd}
has already existed in a list. The event does not allow us to use *
. If you want to add a command to some events at the same time, ,
without after-space is available. The rule of {aupat}
is based on the original Vim. Of course, registered {cmd}
s will execute in order added.
It remove all autocmd matched {event}
and {aupat}
, then register {cmd}
after delete. The following syntaxes are available.
au[tocmd]! {event} {aupat} {cmd}
au[tocmd]! {event} {aupat}
au[tocmd]! * {aupat}
au[tocmd]! {event}
Each features are the same as the original Vim.
autocmd AppLeave * <to_insert>
"Equivalent to conventional dedicate_to_window
autocmd AppEnter *notepad* <to_edi_normal>
" Equivalent to conventional suppress_for_vim
autocmd AppEnter,EdiNormalEnter *vim* <to_resident>
suppress_for_vim
and dedicate_to_window
version
command to select tiny
, small
, normal
, big
, or huge
.Example:
" Only comments can be written in here.
version tiny
" Any command can be written from.
" For example
set shell = cmd
Tier | Supported Features |
---|---|
tiny | +mouse +syscmd |
small | +mouse +syscmd +window +process |
normal | +mouse +syscmd +window +process +vimemu |
big | +mouse +syscmd +window +process +vimemu +hotkey +gvmode |
huge | +mouse +syscmd +window +process +vimemu +hotkey +gvmode +experimental |
Following Vim, there are five tiers. tiny
has minimal commands for mouse moving and clicking, including EasyClick and GridMove. small
allows more flexible handling of window controls and process launches, etc. normal
has Vim emulation mappings and allows text editing in text areas, etc. big
adds several hotkeys that redefine some of the shortcut keys in Windows to operate Windows with more Vim-like ways. It also provides GUI Visual Mode (+gvmode), which allows for holding down the mouse. huge
allows win-vind to have experimental features for more complex operations.