Creating file templates

Software projects are commonly composed of similar files in a specific location and new files typically require some minimal boilerplate. Tim Pope’s projectionist.vim offers a handy way to templatize the creation of new files directly in Vim.

Continue reading »

Open file to line

Many know about that you can open a file based on what’s under your cursor using gf, or C-w f. There is also a handy variation on this using ‘F’. This variation will open said file, but if it’s followed by a line number vim will jump to that line. We encounter this a lot when executing tests via vim-dispatch.

Continue reading »