Skip to content

Releases: pit-ray/win-vind

v5.8.0

04 Jan 12:49
Compare
Choose a tag to compare

Minor

Add

Change

  • autofocus_textarea option is deprecated.

v5.7.0

03 Jan 17:12
Compare
Choose a tag to compare

Minor

Add

v5.6.0

06 Nov 15:20
Compare
Choose a tag to compare

Minor

Add

Fix

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

v5.5.2

03 Nov 17:43
Compare
Choose a tag to compare

Patch

Fix

  • fix mapping issues in the switch_window.

v5.5.1

02 Nov 21:24
Compare
Choose a tag to compare

Patch

Fix

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

v5.5.0

31 Oct 00:52
Compare
Choose a tag to compare

Minor

Add

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

v5.4.0

13 Aug 17:34
Compare
Choose a tag to compare

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

11 Aug 16:07
Compare
Choose a tag to compare

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

05 Aug 16:50
Compare
Choose a tag to compare

Patch

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

v5.2.2

14 Jun 16:49
Compare
Choose a tag to compare

Patch

Fix

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