Hacker News new | ask | show | jobs
by tathagatadg 4915 days ago
Whoa! I was just doing the same thing but with stackoverflow's api and in vim ... instead of making the query from the command line i.e. leave your editor, I'm thinking of writing the query like a comment and highlight it so that I can see the returned search results in a separate buffer. Haven't made much progress due to unfamiliarity with programming vim
1 comments

It was my understanding it's easy to run a terminal command from vim.
Yes, it's just

  :r!howdoi python regex
:r! executes a command and inserts its standard output below the cursor
Cool! ... that solves it! One less unfinished side project