Skip to main content
1 of 3
Maxim Kim
  • 13.9k
  • 2
  • 20
  • 48
  1. there is current working directory in vim :lcd to see it and :lcd dir to change it
  2. depending on how your python script is implemented, it might read this json file from current working directory (it is inherited by :!) not from your script location directory.

so either change :lcd path/to/your/python/script.py or change your python script to read file relative to script location.

Maxim Kim
  • 13.9k
  • 2
  • 20
  • 48