mirror of
https://github.com/nmasur/dotfiles
synced 2026-02-28 16:59:45 +00:00
add zellij keybinds for nested zellij
This commit is contained in:
@@ -101,6 +101,22 @@ in
|
|||||||
show_startup_tips = false;
|
show_startup_tips = false;
|
||||||
|
|
||||||
keybinds = {
|
keybinds = {
|
||||||
|
locked = {
|
||||||
|
# For servers that I SSH into, use c-a-G to unlock
|
||||||
|
"bind \"Ctrl Alt G\"" = lib.mkIf (pkgs.stdenv.isLinux && !config.programs.ghostty.enable) {
|
||||||
|
SwitchToMode = {
|
||||||
|
_args = [ "normal" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
normal = {
|
||||||
|
# For servers that I SSH into, use c-a-G to lock
|
||||||
|
"bind \"Ctrl Alt G\"" = lib.mkIf (pkgs.stdenv.isLinux && !config.programs.ghostty.enable) {
|
||||||
|
SwitchToMode = {
|
||||||
|
_args = [ "locked" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
session = {
|
session = {
|
||||||
"bind \"w\"" = {
|
"bind \"w\"" = {
|
||||||
LaunchOrFocusPlugin = {
|
LaunchOrFocusPlugin = {
|
||||||
|
|||||||
Reference in New Issue
Block a user