Set nvim as default editor across all configurations

- Add EDITOR and VISUAL environment variables to fish shell init
- Add system-level EDITOR and VISUAL variables for macOS and WSL
- Ensures nvim is used as default editor for git, system tools, and applications
- Maintains existing neovim defaultEditor configuration
This commit is contained in:
DannyDannyDanny 2025-09-13 17:37:34 +02:00
parent 922a68ea47
commit a16fcb9f51
3 changed files with 8 additions and 0 deletions

View file

@ -59,6 +59,10 @@
if test -d /opt/homebrew/bin
fish_add_path -g /opt/homebrew/bin /opt/homebrew/sbin
end
# Set default editor
set -gx EDITOR nvim
set -gx VISUAL nvim
'';
};