Skip to content

Instantly share code, notes, and snippets.

@mknz
mknz / nvim-terminal-edit.py
Last active January 21, 2017 11:01 — forked from bfredl/nvim-terminal-edit.py
Edit file in host Neovim instance from a :terminal buffer
#!/usr/bin/env python
"""Edit a file in the host nvim instance."""
from __future__ import print_function
import os
import sys
from neovim import attach
args = sys.argv[1:]
if not args: