Hacker News new | past | comments | ask | show | jobs | submit login

Sounds cool! Could you share that shortcut please? I'm sure I could work it out, but there's always a bit of trial and error, and looking up docs without knowing the name in vim (for me, anyway).



For sure! There was definitely some trial and error as I was writing it. :) The specific use case I have is for running Elixir tests, but I'm sure adapting it wouldn't present too much of a challenge:

https://gist.github.com/ddresselhaus/98b022e295bc27e9264dece...

I haven't done a ton of Vim scripting and found this resource to be super helpful! https://devhints.io/vimscript




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact

Search: