diff --git a/nnn/.local/bin/vim-wrapper b/nnn/.local/bin/vim-wrapper index 3ac7977..580a470 100755 --- a/nnn/.local/bin/vim-wrapper +++ b/nnn/.local/bin/vim-wrapper @@ -1,13 +1,13 @@ #!/usr/bin/env bash if [ "$TERM_PROGRAM" != "WezTerm" ]; then - exec vim "$@" + exec nvim "$@" fi pane_id=$(wezterm cli get-pane-direction Right) if [ -z "$pane_id" ]; then - exec wezterm cli split-pane --right --percent 70 -- vim "$@" + exec wezterm cli split-pane --right --percent 70 -- nvim "$@" else - exec wezterm cli spawn -- vim "$@" + exec wezterm cli spawn -- nvim "$@" fi