Jupyter Notebook vim mode
When operating on cells, not text (= not insert mode), the usual
j/k commands select cells when shift is used (
J/K). This is neat. I should read the documentation.
Java brackets in
If you have only one statement in for loops, you can drop the brackets:
for (final String dt: distanceTypes) for (final double co : cutoffs) your_one_statement();
That said, it’s not a good idea :) Answer has details about the definitions, default scope for for is next statement. A statement can have brackets.
Ideas / TODO / Fiamma / PKM
Possibly sometime rewrite my link wiki (pchr8.net/f/)’s bookmarking userscript to accept data as
title/complexity/rating/tag1 two three/Cat1 cat2 cat3 instead of the current multiline thingy, might be even easier to fit it into a userprompt