Chris and Daniel help us wade through the week’s AI news, including open ML challenges from Intel and National Geographic, Henry Kissinger’s views on AI, and a model that can detect personality based on eye movements. They also point out some useful resources to learn more about pandas, the vim editor, and AI algorithms.
Vim in your browser! Compiled from the C code and emscripten and binaryen
Matthias Endler shares his Vim experience by looking back after using the venerable text editor for 10 years. Would he go back and learn it all over again?
On one side, I would say no. There’s a steep learning curve in Vim and seeing all those modern IDEs become better at understanding the user’s intent, editing text became way easier and faster in general.
On the other side, Vim is the fastest way for me to write down my thoughts and code. As a bonus, it runs on every machine and might well be around in decades to come. In contrast, I don’t know if the IntelliJ shortcuts will be relevant in ten years (note: if you read this in the future and ask yourself “What is IntelliJ?”, the answer might be no).
Definitely click through to read his takeways, too. Oh, and it’s worth mentioning that the JS Party panel went deep on Vim (by accident?) for the next episode.
Jamal Moon writes in the readme:
Vim is a great tool to write and edit code, but many people, including me, struggled with the steep learning curve. I did not find a fun, free way to learn about the vim commands in-depth, and thus, PacVim was born. Inspired by the classic, PacMan, PacVim is a game that’ll give anyone plenty of practice with the vim commands while being a ton of fun to play.
Download and build the game with macOS and Linux.
This little gem of a project is 7 years old now, but it’s too cool not to share:
When the pedal is pressed down, the pedal types “i” causing VIM to go into Insert Mode. When released, it types
and you are back in Normal Mode.
Hacker to the heart? 💯
This is plugin is by Tim Pope (the unofficial pope of Vim plugins), so the chances of it being high quality are… high. It supports the typical RDBMSes (Pg, MySQL, Sqlite) as well as a few NoSQL flavors (Mongo, Redis).
Invoke vim-anywhere with a keyboard shortcut and it’ll open a buffer for you. Close it and the buffer’s contents will be copied to your clipboard for easy pasting.
Yes, you read that headline correctly. We’re talking about 🍕.
Thanks to Arithran Thurairetnam, we can now order Pizza directly from within Vim.
Now one of us needs to
:OrderPizza and have it delivered to Arithran’s house.
You may recall Josh gushing about tslime on Episode 0.7.3. While tslime makes it easy to send input from Vim to a tmux session, Ben Mills wanted a bit more, so he created Vimux. Vimux gives you a tmux pane in which to execute commands, all without losing focus in vim.
Commands can easily be set up in your
.vimrc to do common tasks:
" Prompt for a command to run map rp :PromptVimTmuxCommand " Run last command executed by RunVimTmuxCommand map rl :RunLastVimTmuxCommand " Inspect runner pane map ri :InspectVimTmuxRunner " Close all other tmux panes in current window map rx :CloseVimTmuxPanes " Interrupt any command running in the runner pane map rs :InterruptVimTmuxRunner
Wynn sat down with three Vim users and experts to talk about tips and tricks for using and pimping the popular text editor.