• Skip to primary navigation
  • Skip to main content
Sal Ferrarello
  • About Sal Ferrarello
  • Speaking
  • Connect
    Mastodon GitHub Twitter (inactive)
You are here: Home / Archives for vimscript

vimscript

Vim JSON Format

Last updated on October 30, 2022 by Sal Ferrarello

Vim allows you to run all (or some) of your content through an external program. In this case, we want to use Python to format (i.e. pretty print) our JSON with ‘python -m json.tool’. We an also setup a Vim user defined command to reduce typing (and make it easier to remember).

Filed Under: Dev Tips, Solution Tagged With: lua, neovim, vim, vimscript

Copyright © 2023 · Bootstrap4 Genesis on Genesis Framework · WordPress · Log in