Make ghostty, zellij, and nvim work more nicely

This commit is contained in:
Greg Hellings
2025-12-05 14:16:06 -06:00
parent c8fe4a91a3
commit 35078fc70d
2 changed files with 12 additions and 22 deletions
+1 -1
View File
@@ -69,7 +69,7 @@
window-save-state = "always"; window-save-state = "always";
keybind = [ keybind = [
"ctrl+n=new_window" #"ctrl+n=new_window"
"ctrl+shift+h=goto_split:left" "ctrl+shift+h=goto_split:left"
"ctrl+shift+j=goto_split:down" "ctrl+shift+j=goto_split:down"
+11 -21
View File
@@ -1,4 +1,4 @@
{ lib, pkgs, ... }: { config, lib, pkgs, ... }:
{ {
home.packages = home.packages =
with pkgs; with pkgs;
@@ -23,7 +23,8 @@
enable = true; enable = true;
enableZshIntegration = pkgs.stdenv.hostPlatform.isDarwin; enableZshIntegration = pkgs.stdenv.hostPlatform.isDarwin;
settings = { settings = {
default_shell = "xonsh"; #default_shell = "xonsh";
default_shell = lib.getExe config.programs.nushell.package;
plugins = { plugins = {
autolock = { autolock = {
_props.location = "https://github.com/fresh2dev/zellij-autolock/releases/download/0.2.2/zellij-autolock.wasm"; _props.location = "https://github.com/fresh2dev/zellij-autolock/releases/download/0.2.2/zellij-autolock.wasm";
@@ -60,26 +61,15 @@
]; ];
}; };
} }
{
bind = {
_args = [ "Ctrl z" ];
_children = [
{
MessagePlugin = {
_args = [ "autolock" ];
_children = [
{
payload._args = [ "enable" ];
}
];
};
SwitchToMode._args = [ "Locked" ];
}
];
};
}
]; # /normal ]; # /normal
locked._children = [ locked._children = [
{
unbind = {
_args = [ "Ctrl g" ];
};
}
];
shared._children = [
{ {
bind = { bind = {
_args = [ "Ctrl z" ]; _args = [ "Ctrl z" ];
@@ -89,7 +79,7 @@
_args = [ "autolock" ]; _args = [ "autolock" ];
_children = [ _children = [
{ {
payload._args = [ "disable" ]; payload._args = [ "toggle" ];
} }
]; ];
}; };