-- Leo's gemini proxy

-- Connecting to g.codelearn.me:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

Vim, format JSON file


I have to note it, it's just brilliant!


If you want to format a JSON file opened in Vim then just run


: %!python -m json.tool

Stolen from this awesome post -

Format JSON in Vim using Python's json.tool module

-- Response ended

-- Page fetched on Sat May 11 07:31:35 2024