version: 0.1.4
Lit is a task switcher and launcher, used to replace ALT
+TAB
and WIN
+R
. The goal of this project is to make a desktop search platform and make everything searchable, i.e. tasks, executables, filenames, pdf contents and annotations, images, evernote...
Both task switching and launcher submodule use fuzzy search based on weighted Levenshtein distance.
Task switching using \g
command or query directly (default mode is \g
):
Launcher using \r
command:
- Windows (tested on win7 and win8 x64)
- Python3 (Cx-Freeze does not work on
3.3
) - PyQt4
- Cx-Freeze
- Pywin32
- WMI
After install, you may need manually create a shotcut of lit.exe
.
Create a virtualenv first, then install WMI:
pip install wmi
You can install cx-Freeze and pywin32 downloaded from here using easy_install.
For PyQt4, you must install it globally and copy it and sip to virutalenv site-package
folder manually, or compile it on your own.
Clone this repo. Under the root folder:
python setup.py bdist_msi
The msi
installer will be created under dist
folder.
Use ;;
to toggle search box (I'm a vimer, and accustomed to jj
). Search text are make of two parts: command and query (optional, some command may haven't query part, like \exit
), seperated by a space.
Command can be:
\r
(i.e.\run
): run executable under yourPATH
\g
(i.e.\go
): task switch\exit
: as it says
Default mode is \g
, you can do task switch just without command part.
Use:
- arrow keys or
CTRL+J
/CTRL+K
to navigate; ESC
to clear search box (when popup shown) or hide it.
- New search algorithm, based on extended Levenshtein distance.
- Client/Server structure to provide minimum UAC requirement.
- Improved
\run
performance. - Unified sync and async job interface.