3 ms·
The idea that a comma is nearly always followed by space or new line, and can therefor be useful is pretty genius though. A few years ago someone mentioned the
by pkulak 3y ago
The idea that a comma is nearly always followed by space or new line, and can therefor be useful is pretty genius though.
A few years ago someone mentioned they map "jj" to escape in vim and I've been doing it ever since. Have you ever had to type two j's' next to each other? I haven't in several years now. :D Only problem is inserting a dozen 'j's before I realize what's going on when I'm on a remote machine...
- Avshalom 3y ago["string","string"] and [1,2], that is comma-quote and comma-number are both fairly common. Granted ModKey-(#|") is also pretty unlikely to be a command
- pkulak 3y agoI always put a space after a comma in an inline array, personally.
- 8n4vidtmkvmk 3y agoI often don't. Let the formatter do that. Why waste keystrokes on formatting?