feat(rex): make Rex Beta the default terminal
This commit is contained in:
parent
d3cded376c
commit
e019a60b4e
4 changed files with 16 additions and 3 deletions
|
|
@ -19,7 +19,8 @@
|
|||
"alt-comma" = "layout accordion horizontal vertical";
|
||||
"alt-space" = "layout floating tiling";
|
||||
|
||||
"alt-enter" = ''exec-and-forget open -na "kitty"'';
|
||||
# Rex is a single app, so open focuses it. Cmd+N in Rex opens a new window.
|
||||
"alt-enter" = ''exec-and-forget open -a "Rex Beta"'';
|
||||
"alt-backspace" = "close";
|
||||
|
||||
"alt-tab" = "workspace-back-and-forth";
|
||||
|
|
@ -33,7 +34,7 @@
|
|||
// workspaceSendBindings;
|
||||
|
||||
float.binding = {
|
||||
enter = ''exec-and-forget open -na "kitty" && aerospace layout floating'';
|
||||
enter = ''exec-and-forget open -a "Rex Beta" && aerospace layout floating'';
|
||||
i = [
|
||||
''exec-and-forget open -na "iTerm.app"''
|
||||
"layout floating"
|
||||
|
|
|
|||
|
|
@ -32,7 +32,12 @@
|
|||
"if".window-title-regex-substring = "pet|hatch";
|
||||
run = "layout floating";
|
||||
}
|
||||
# Exception: Kitty on workspace 5 floats
|
||||
# Exception: Rex and Kitty on workspace 5 float
|
||||
{
|
||||
"if".app-id = "com.superlogical.rex";
|
||||
"if".workspace = "5";
|
||||
run = "layout floating";
|
||||
}
|
||||
{
|
||||
"if".app-id = "net.kovidgoyal.kitty";
|
||||
"if".workspace = "5";
|
||||
|
|
|
|||
|
|
@ -30,6 +30,7 @@
|
|||
set-option -g focus-events on
|
||||
# Avoid CSI-u newline remapping that breaks Neovim pastes
|
||||
set -as terminal-features 'xterm-kitty:clipboard,RGB'
|
||||
set -as terminal-features 'xterm-rex:clipboard,RGB'
|
||||
set -g status-interval 5
|
||||
setw -g automatic-rename on
|
||||
set -g renumber-windows on
|
||||
|
|
|
|||
|
|
@ -53,6 +53,12 @@
|
|||
"$HOME/.lmstudio/bin"
|
||||
)
|
||||
|
||||
# Rex prepends its own bin dir to PATH, but the fixed list above drops it.
|
||||
# Keep it first so the CLI matches the running server. Empty outside Rex.
|
||||
if [ -n "$REX_BIN_DIR" ]; then
|
||||
path=("$REX_BIN_DIR" $path)
|
||||
fi
|
||||
|
||||
export PATH
|
||||
|
||||
# kitten ssh refuses to run outside a kitty window.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue