diff --git a/nnn/.local/bin/vim-wrapper b/nnn/.local/bin/vim-wrapper index 941ab7e..3ac7977 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 nvim "$@" + exec vim "$@" fi pane_id=$(wezterm cli get-pane-direction Right) -if [ -z "$pane_id" ] && [ ! -d "$1" ]; then - exec wezterm cli split-pane --right --percent 70 -- nvim "$@" +if [ -z "$pane_id" ]; then + exec wezterm cli split-pane --right --percent 70 -- vim "$@" else - exec wezterm cli spawn -- nvim "$@" + exec wezterm cli spawn -- vim "$@" fi diff --git a/nvim/.config/nvim/lua/config/options.lua b/nvim/.config/nvim/lua/config/options.lua index b74bd6c..f8b335b 100644 --- a/nvim/.config/nvim/lua/config/options.lua +++ b/nvim/.config/nvim/lua/config/options.lua @@ -2,5 +2,3 @@ -- Default options that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/options.lua -- Add any additional options here vim.opt.relativenumber = false --- Autoformatting can break stuff; turn it off. -vim.g.autoformat = false