Sunday, August 5, 2012

Vim Run Shell Command

Here is a nice simple vimrc file addition that will execute a line as a shell command and read back the output into the buffer: nnoremap <Leader>rl yy:r!<C-r>"<CR>

No comments:

Post a Comment