From c263305671c42e578e672c6d719468a7471d39fc Mon Sep 17 00:00:00 2001 From: Mylloon Date: Mon, 9 Oct 2023 17:34:17 +0200 Subject: [PATCH] Use nano instead of micro for default editor --- arch.sh | 4 +++- arch_wsl.sh | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/arch.sh b/arch.sh index bf4cd82..ccafe3c 100644 --- a/arch.sh +++ b/arch.sh @@ -119,11 +119,13 @@ main() { gsettings set org.gnome.Terminal.Legacy.Keybindings:/org/gnome/terminal/legacy/keybindings/ zoom-normal "agrave" # ctrl+0 gsettings set org.gnome.Terminal.Legacy.Keybindings:/org/gnome/terminal/legacy/keybindings/ next-tab "tab" # ctrl+tab + # === Default editor == + fish -c "set -Ux EDITOR nano" + # === Micro configuration == mkdir "$HOME"/.config/micro wget -q --show-progress ${repo}/.config/micro/settings.json -O "$HOME"/.config/micro/settings.json micro -plugin install detectindent - fish -c "set -Ux EDITOR micro" # === GL4D == # Download, build and installation diff --git a/arch_wsl.sh b/arch_wsl.sh index e793235..c4a0dd4 100644 --- a/arch_wsl.sh +++ b/arch_wsl.sh @@ -120,11 +120,13 @@ main() { # Add aliases wget -q ${repo}/.config/fish/conf.d/alias.fish -O "$HOME"/.config/fish/conf.d/alias.fish + # === Default editor == + fish -c "set -Ux EDITOR nano" + # === Micro configuration == mkdir "$HOME"/.config/micro wget -q --show-progress ${repo}/.config/micro/settings.json -O "$HOME"/.config/micro/settings.json micro -plugin install detectindent - fish -c "set -Ux EDITOR micro" # === GL4D == # Download, build and installation