config/qtile: properly spawn editor in terminal
This commit is contained in:
parent
9149206848
commit
618ca50564
1 changed files with 2 additions and 2 deletions
|
@ -55,7 +55,7 @@ class Apps:
|
|||
|
||||
TERMINAL = guess_terminal(preference="kitty") # Set preference if necessary
|
||||
SHELL = "zsh"
|
||||
EDITOR = os.getenv("EDITOR", "vim")
|
||||
EDITOR = "nvim"
|
||||
|
||||
@classmethod
|
||||
def terminal_command(cls, program, args=tuple(), *, terminal=None):
|
||||
|
@ -436,7 +436,7 @@ keys = [
|
|||
),
|
||||
Key(
|
||||
[Keys.SUPER, Keys.ALT], "e",
|
||||
lazy.spawn(Apps.EDITOR),
|
||||
Apps.open_in_terminal(Apps.EDITOR),
|
||||
desc="Launch editor",
|
||||
),
|
||||
Key(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue