diff options
author | Martin Fischer <martin@push-f.com> | 2025-01-06 10:00:35 +0100 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2025-01-06 10:04:37 +0100 |
commit | b53ce4b80cd8a042489d7855b1bed2390964c708 (patch) | |
tree | 64b0c18945e267d95f8c1abd1594fbad984ae2c8 | |
parent | 57d76e99da8a8635d22c1ff0b11fefb9b82cc8d3 (diff) |
fix(user/zsh): set VISUAL instead of EDITORmain
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).
-rw-r--r-- | user/zsh/.zshrc | 2 |
1 files changed, 1 insertions, 1 deletions
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) |