From b53ce4b80cd8a042489d7855b1bed2390964c708 Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Mon, 6 Jan 2025 10:00:35 +0100 Subject: fix(user/zsh): set VISUAL instead of EDITOR EDITOR is meant for line editors while VISUAL is meant for full-screen editors. Also most software appears to prefer VISUAL over EDITOR (e.g. git and sudoedit). --- user/zsh/.zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'user') diff --git a/user/zsh/.zshrc b/user/zsh/.zshrc index 4285c99..bc9fe0c 100644 --- a/user/zsh/.zshrc +++ b/user/zsh/.zshrc @@ -48,7 +48,7 @@ SAVEHIST=1000000000 export XDG_CACHE_HOME=$HOME/.cache export XDG_CONFIG_HOME=$HOME/.config -export EDITOR=vim +export VISUAL=vim export INPUTRC=$XDG_CONFIG_HOME/readline/inputrc export PYTHON_BASIC_REPL=1 # use readline (Python >=3.13 defaults to its own REPL which has no vi keybindings) -- cgit v1.2.3