Better HN
topnewbestaskshowjobs
Log inSign up

styglian

2 karma · joined Aug 16, 2019 (7y ago) · 2 submissions

Submissions

comment 2y ago · link · parent

I once wrote a puzzle using this, which (fortunately) doesn't work any more, but would do interesting things on older JDK versions: https://pastebin.com/raw/Bh81PwXY

comment 7y ago · link · parent

> Nobody actually presses spacebar 4 times to indent unless they are forced to use vim on some remote machine.

Even then, you can just use >> and << in vim; as long as it's set up correctly it'll insert spaces.

Works with whole sections in visual mode too ("v, down, down, down, >" will indent four lines).