TIL: Execute current line in vim

from blog Guru Das Srinagesh, | ↗ original
I write a lot of notes in Markdown on a daily basis as a sort of personal wiki. Almost all of them contain code snippets - shell commands, mostly. Today I learnt that there is a much better way to directly execute a shell command listed on its own in a single line in vim. Two ways, in fact. The first ... → Continue reading