New answers tagged

1

I'm aware of two possible approaches from within Vim. On the fly formatting My C and C++ snippets defined in lh-cpp (as abbreviations) and in mu-template+lh-cpp (as more traditional snippets) are expanded according to the current stylistic preferences (through another plugin: lh-style). Pros: The correct style is used from the start No external dependences (...


1

There at least two possible answers here: vnoremap jq :!jq<cr> as suggested by @Ralf works for jq >= 1.6. See https://github.com/stedolan/jq/commit/5fe053671a768d28bc9773719cc4a9a35e72f30d For earlier jq versions where the dot is not implied, it needs to be in the command: vnoremap jq :!jq .<cr> I was using an older version of jq. The answer ...


Top 50 recent answers are included