From 970c5a614ca183896fd6e108b75e58677d604fc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20K=C3=B6rber?= Date: Fri, 23 Feb 2024 21:45:15 +0100 Subject: [PATCH] Use helix as standard editor --- zsh/zprofile.j2 | 4 ++-- zsh/zshrc.d/40_functions.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/zsh/zprofile.j2 b/zsh/zprofile.j2 index 4b27e31..90e5c61 100644 --- a/zsh/zprofile.j2 +++ b/zsh/zprofile.j2 @@ -11,8 +11,8 @@ for part in ${_path[@]} ; do done export PATH -export EDITOR="nvim" -export VISUAL="nvim" +export EDITOR="hx" +export VISUAL="hx" export BROWSER="firefox" export PAGER="less" diff --git a/zsh/zshrc.d/40_functions.sh b/zsh/zshrc.d/40_functions.sh index f6fcc90..09d87db 100644 --- a/zsh/zshrc.d/40_functions.sh +++ b/zsh/zshrc.d/40_functions.sh @@ -188,7 +188,7 @@ journal() { if [[ ! -e $file ]] ; then cp $journaldir/template.md $file || return fi - vim +Goyo +PencilSoft $file + $EDITOR $file } syncfolder() {