Skip to content

santhoshr/iswitchw

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iswitchw

fast keyboard-driven window switching via AutoHotKey

When iswitchw is triggered, the titles of all visible windows are shown in a popup. Start typing to narrow possible matches -- hit enter at any point to activate the top match. Matches are narrowed using an approximate/'fuzzy' filtering method similar to tools like Ido and CtrlP.

Built and tested using AutoHotkeyL v1.1.33.02 on Windows 10 (x64).

screenshot

Usage

  • Capslock activates iswitchw
  • Esc cancels at any time
  • Tab/Shift + Tab Down/Up Ctrl + J/K navigate next/previous row
  • Left/Right arrow keys move the insert cursor in the search box
  • Home/End jump to the top/bottom of list
  • PgDn/PgUp jumps down/up the list 4 rows at a time
  • Ctrl + Delete/Backspace/W removes a word from the search, or, if there's no further matches or only a single match: clear the input
  • Ctrl + Left/Right arrow keys skip forward/backward by the word
  • Win + 0-9 focuses the corresponding tab
  • 1-300 hotstrings to focus any tab, enter the row number followed by a space.
  • Click a title to activate a window with the mouse
  • Any other typing should be passed through to the search
  • Start a search string with ? to search using RegEX
  • Configure watched file folders or shortcuts to display in results

Chrome and Firefox tabs will appear separately in the list. In Chrome, accessibility support needs to be enabled for tabs to appear, by going to chrome://accessibility and checking every option under "Accessibility modes:" on the left side of the page.

By default, iswitchw is restricted to a single instance and hides itself from the tray. Run the script again at any time to replace the running instance. If you want to quit the script entirely, activate iswitchw with Capslock and then press Alt + F4.

If you want iswitchw to run when Windows starts, make a shortcut to the iswitchw.ahk file in the folder %APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup. See here also.

Options

User configurable options are presented at the top of the ahk script.

Todo

  • Add better explanations/examples for configuration options
  • Move hotkey binding and options into ini file

History

This fork is a significant departure from previous versions, aside

Original inspiration provided by the creators of the iswitchb package for the Emacs editor.

2004/10/10, CREATED by keyboardfreak [link]
2008/07/03, MODIFIED by ezuk [link]
2011/06/11, MODIFIED by jixiuf [link]
2013/08/23, MODIFIED by dirtyrottenscoundrel [link]
2014/05/30, MODIFIED by tvjg [link] 2021/04/18, MODIFIED by evilmanimani

About

Fast keyboard-driven window switching via AutoHotKey

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • AutoHotkey 100.0%