13 lines
229 B
Python
13 lines
229 B
Python
|
#! /usr/bin/python3
|
||
|
|
||
|
import subprocess
|
||
|
from pathlib import Path
|
||
|
|
||
|
|
||
|
def edit(filepath: Path):
|
||
|
subprocess.Popen([
|
||
|
"termite",
|
||
|
"-e",
|
||
|
f"vim --servername tex-vorlesung --remote-silent {str(filepath)}"
|
||
|
])
|