Compare commits
No commits in common. "cafe6a98a2597922f3aecc27d713c675be17dff6" and "5ac364186de0df6f5eadc25b1d3d345f74ccdc8c" have entirely different histories.
cafe6a98a2
...
5ac364186d
2 changed files with 4 additions and 6 deletions
|
@ -1,13 +1,13 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
if [ "$TERM_PROGRAM" != "WezTerm" ]; then
|
if [ "$TERM_PROGRAM" != "WezTerm" ]; then
|
||||||
exec nvim "$@"
|
exec vim "$@"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pane_id=$(wezterm cli get-pane-direction Right)
|
pane_id=$(wezterm cli get-pane-direction Right)
|
||||||
|
|
||||||
if [ -z "$pane_id" ] && [ ! -d "$1" ]; then
|
if [ -z "$pane_id" ]; then
|
||||||
exec wezterm cli split-pane --right --percent 70 -- nvim "$@"
|
exec wezterm cli split-pane --right --percent 70 -- vim "$@"
|
||||||
else
|
else
|
||||||
exec wezterm cli spawn -- nvim "$@"
|
exec wezterm cli spawn -- vim "$@"
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -2,5 +2,3 @@
|
||||||
-- Default options that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/options.lua
|
-- Default options that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/options.lua
|
||||||
-- Add any additional options here
|
-- Add any additional options here
|
||||||
vim.opt.relativenumber = false
|
vim.opt.relativenumber = false
|
||||||
-- Autoformatting can break stuff; turn it off.
|
|
||||||
vim.g.autoformat = false
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue