Win Vind Versions Save

You can operate Windows with key bindings like Vim.

v5.6.0

7 months ago

Minor

Add

Fix

  • Fix a problem that not repeating a command when having multiple trigger characters, such as 5gs.

v5.5.2

7 months ago

Patch

Fix

  • fix mapping issues in the switch_window.

v5.5.1

7 months ago

Patch

Fix

  • fixed a problem not working h and l keys in switch_window.

v5.5.0

7 months ago

Minor

Add

  • Support hint-selection in the switch_window using <c-w>s <switch_window><easyclick><click_left>. (#138, #206)

v5.4.0

9 months ago

Minor

New

  • Add <easyclick_all> to work on all visible applications even if they are not in focus. (#181)
  • Support multiple patterns in autocmd

Fix

  • Fixed problem executing all autocmd when selecting desktop or taskbar. (#89)

Change

  • Change autocmd to more vim-like behavior

v5.3.0

10 months ago

Minor

New

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

autocmd

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.

autocmd!

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.

Examples

  1. Default mapping for the specific event (match any applications)
    autocmd AppLeave * <to_insert>
    
  2. Once notepad is selected, it will automatically switch to Editor normal mode.
    "Equivalent to conventional dedicate_to_window
    autocmd AppEnter *notepad* <to_edi_normal>
    
  3. Suppress win-vind in processes named Vim.
    " Equivalent to conventional suppress_for_vim
    autocmd AppEnter,EdiNormalEnter *vim* <to_resident>
    

Change

  • Deprecate suppress_for_vim and dedicate_to_window


v5.2.3

10 months ago

Patch

  • fixed to skip if a character cannot be typed directly (#78, #151, #40)

v5.2.2

11 months ago

Patch

Fix

  • fix the problem where the first command of .vindrc without version command was not executed (#182)

v5.2.1

11 months ago

Patch

Fix

  • fix a bug that caused the version command to fail in the source command.

v5.2.0

11 months ago

Minor

Add-

  • To simplify the features, we have introduced a hierarchical structure of function (tier), allowing the user to choose the level of functionality. At the beginning of the .vindrc file, use the 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.