chore(config): set EDITOR/VISUAL defaults and update fish/zsh keybindings

This commit is contained in:
Prad Nukala committed 2026-08-13 19:45:39 -04:00
1 parent ac912e6233
commit 568bf5c875
3 files changed
+7 -1

No files matched your search

+2
View File
@@ -18,6 +18,8 @@ set -gx CODE_ROOT $HOME/Developer
# Git hosts (non-secret; tokens are in secrets.fish)
set -gx GITEA_LOGIN code.sonr.org
set -gx GITLAB_HOST git.sonr.org
set -gx EDITOR nvim
set -gx VISUAL nvim
test -x /usr/bin/brave-origin-nightly; and set -gx BROWSER /usr/bin/brave-origin-nightly
test -x /usr/bin/chromium; and set -gx CHROME_EXECUTABLE /usr/bin/chromium
@@ -2,7 +2,8 @@ function fish_user_key_bindings
# Keys owned by kitty.conf never reach fish and are NOT bound here:
# ctrl-g → lazygit overlay, ctrl-a → omp hsplit, ctrl-y → yazi vsplit,
# ctrl-h/j/k/l → vim-aware split nav (pass_keys.py).
bind ctrl-e nvim repaint
# ctrl-e: yazi, same as ctrl-f (cd's to yazi's exit dir on quit).
bind ctrl-e 'yy; commandline -f repaint'
bind ctrl-b purple repaint
bind ctrl-y clip-last