Compare commits
2 commits
main
...
custom-set
Author | SHA1 | Date | |
---|---|---|---|
|
1a595c7ad1 | ||
|
20a146d96c |
2 changed files with 5 additions and 5 deletions
|
@ -19,5 +19,5 @@ DEFAULT_MASTER_FILE_NAME = 'master.tex'
|
|||
MAX_LEN = 40
|
||||
LECTURE_START_MARKER = 'start lectures'
|
||||
LECTURE_END_MARKER = 'end lectures'
|
||||
DEFAULT_NEW_LECTURE_HEADER = r'\lecture{{{number}}}{{{date}}}{{{title}}}'
|
||||
DEFAULT_LECTURE_SEARCH_REGEX = r'lecture{(.*?)}{(.*?)}{(.*)}'
|
||||
DEFAULT_NEW_LECTURE_HEADER = r'\lecture[]{{{date}}}{{{title}}}'
|
||||
DEFAULT_LECTURE_SEARCH_REGEX = r'lecture.*({\d*})?{(.*?)}{(.*)}'
|
||||
|
|
|
@ -45,9 +45,9 @@ class Lecture:
|
|||
|
||||
def edit(self):
|
||||
subprocess.Popen([
|
||||
"x-terminal-emulator",
|
||||
"-e", "zsh", "-i", "-c",
|
||||
f"\\vim --servername kulak --remote-silent {str(self.file_path)}"
|
||||
"termite",
|
||||
"-e",
|
||||
f"vim --servername tex-vorlesung --remote-silent {str(self.file_path)}"
|
||||
])
|
||||
|
||||
def __str__(self):
|
||||
|
|
Loading…
Reference in a new issue