Skip to content

Commit 19a75e3

Browse files
fix: set default editor to vim
1 parent 9abdbb8 commit 19a75e3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/commands/daily.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
def daily(
66
lang: str = typer.Argument("py", help="Programming language to use."),
7-
editor: str = typer.Option("code", '-e', help="Code editor to use."),
7+
editor: str = typer.Option("vim", '-e', help="Code editor to use."),
88
):
99
"""Check the daily problem."""
1010
from .show import show

src/commands/edit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
def edit(
1010
problem: str = typer.Argument(..., help="Problem name or id."),
1111
lang: str = typer.Argument("cpp", help="Programming language to use."),
12-
editor: str = typer.Option("code", '-e', '--editor', help="Code editor to use."),
12+
editor: str = typer.Option("vim", '-e', '--editor', help="vim editor to use."),
1313
):
1414
"""Solves a problem by passing lang param and open it with your code editor."""
1515
question_data = solution_manager.get_question_data(problem).get('data', {}).get('question')

0 commit comments

Comments
 (0)