Make ghostty, zellij, and nvim work more nicely
This commit is contained in:
@@ -69,7 +69,7 @@
|
||||
window-save-state = "always";
|
||||
|
||||
keybind = [
|
||||
"ctrl+n=new_window"
|
||||
#"ctrl+n=new_window"
|
||||
|
||||
"ctrl+shift+h=goto_split:left"
|
||||
"ctrl+shift+j=goto_split:down"
|
||||
|
||||
+11
-21
@@ -1,4 +1,4 @@
|
||||
{ lib, pkgs, ... }:
|
||||
{ config, lib, pkgs, ... }:
|
||||
{
|
||||
home.packages =
|
||||
with pkgs;
|
||||
@@ -23,7 +23,8 @@
|
||||
enable = true;
|
||||
enableZshIntegration = pkgs.stdenv.hostPlatform.isDarwin;
|
||||
settings = {
|
||||
default_shell = "xonsh";
|
||||
#default_shell = "xonsh";
|
||||
default_shell = lib.getExe config.programs.nushell.package;
|
||||
plugins = {
|
||||
autolock = {
|
||||
_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
|
||||
locked._children = [
|
||||
{
|
||||
unbind = {
|
||||
_args = [ "Ctrl g" ];
|
||||
};
|
||||
}
|
||||
];
|
||||
shared._children = [
|
||||
{
|
||||
bind = {
|
||||
_args = [ "Ctrl z" ];
|
||||
@@ -89,7 +79,7 @@
|
||||
_args = [ "autolock" ];
|
||||
_children = [
|
||||
{
|
||||
payload._args = [ "disable" ];
|
||||
payload._args = [ "toggle" ];
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user