Code Like a Craftsman with a Vim Clutch

Stroll around our Grand Rapids office, and you’ll find some unique input methods. Curved, split, and mechanical keyboards, mice shaped like everything from sashimi to joysticks, giant trackpads, drawing tablets, Echo Dots, and Yetis. We like to keep things interesting when it comes to our workspaces. For the last hundred days, I’ve been kicking around […]

Scripting Vim to Help Run Ember Tests

Years of using the testing framework RSpec has spoiled me. Because you can pass a filename and line number to the RSpec command and it will run only that test, it’s trivial to set up a Vim key binding that runs the test under the cursor. For example, nnoremap <buffer> <LocalLeader>a :exe "!rspec ".expand("%").":".line(".")<CR>nnoremap <buffer> […]