Sets default editor for things such as git commits and diffs Signed-off-by: Nicholas Mello <nick@nmello.dev>
9 lines
133 B
Fish
9 lines
133 B
Fish
if status is-interactive
|
|
if type -q fzf
|
|
fzf --fish | source
|
|
end
|
|
|
|
set -Ux EDITOR nvim
|
|
set -Ux VISUAL nvim
|
|
end
|