WEBVTT 00:00:00.544 --> 00:00:03.700 welcome back to emacs rocks! 00:00:03.700 --> 00:00:07.314 I just had my mind exploded! 00:00:07.314 --> 00:00:08.667 this guy, 00:00:08.667 --> 00:00:10.767 the eminent Babenhauserheide, 00:00:10.767 --> 00:00:13.500 sent a tip to key-chord-mode 00:00:13.500 --> 00:00:15.033 man! 00:00:15.033 --> 00:00:17.647 David Andersson has made an extension 00:00:17.647 --> 00:00:23.034 that let you bind commands to simultaneously pressed keys 00:00:23.034 --> 00:00:25.200 let me repeat that 00:00:25.200 --> 00:00:27.376 you press two keys at the same time, 00:00:27.376 --> 00:00:30.367 and commands get run 00:00:30.367 --> 00:00:32.600 wow! 00:00:32.600 --> 00:00:36.933 in episode four, I was drooling over vims awesome F-key 00:00:36.933 --> 00:00:40.764 and bound that to meta-m - which is fine 00:00:40.764 --> 00:00:45.167 but certainly not as fast as just pressing F 00:00:45.167 --> 00:00:50.000 and speed is essential to these micro-optimization navigation tricks 00:00:50.000 --> 00:00:53.127 now watch this 00:00:53.127 --> 00:00:54.646 I press f and g at the same time ... 00:00:54.646 --> 00:00:55.910 BOOM! 00:00:55.910 --> 00:00:58.313 forward! 00:00:59.699 --> 00:01:00.899 and even better, 00:01:00.899 --> 00:01:04.002 f and d to move backward again 00:01:06.233 --> 00:01:08.754 here, let me show you another one 00:01:08.754 --> 00:01:10.800 double tap semicolon 00:01:10.800 --> 00:01:14.320 and it's placed at the end of the line 00:01:14.320 --> 00:01:17.392 and here's all the code it took 00:01:22.454 --> 00:01:25.020 I'm awestruck 00:01:25.020 --> 99:59:59.999 emacs - it is truly the greatest editor on the planet