Author: | Soeren Wolfers <[email protected]> |
---|---|
Organization: | King Abdullah University of Science and Technology (KAUST) |
Take notes of sudden realizations and small insights without disturbing your workflow
Installation:
pip install swutil
.- Download
insights.py
- Create a keyboard shortcut that runs
<PYTHON> <INSIGHTS>
, where<PYTHON>
is your Python3 executable and<INSIGHTS>
is the full path ofinsights.py
(compizconfigsettingsmanager
can be used on Ubuntu).
If desired:
- Edit
ROOT_DIR
to parent directory of notes files (default: parent directory ofinsights.py
) - Edit
ENDING
to change the type of your note files (default:tex
) - Edit
EDITOR
to change editor (default:vim
)
Usage:
- Whenever an insight occurs, press the shortcut, type the initial letters of a file that you want to edit, e.g.
g
, to editgit.tex
, and press Enter - If you are using tex files and want to see the compiled pdf instead of editing, append an exclamation mark, e.g.
g!
, to compile the tex and open the pdf