Trying out zellij

This commit is contained in:
Oliver Davies 2024-08-24 23:36:39 +01:00
parent 10097802b3
commit 5fe35808d2
3 changed files with 17 additions and 4 deletions

View file

@ -28,6 +28,7 @@ in
./modules/ripgrep.nix
./modules/syncthing.nix
./modules/tmux.nix
./modules/zellij.nix
./modules/zsh.nix
];
}

View file

@ -0,0 +1,10 @@
{
programs.zellij = {
enable = true;
};
xdg.configFile."zellij/config.kdl".text = ''
simplified_ui true
pane_frames false
'';
}

View file

@ -35,6 +35,12 @@ abbr ta="tmux attach"
abbr tl="tmux list-sessions"
abbr tk="tmux kill-session"
# zellij
abbr zj="zellij"
abbr znt="zellij action new-tab"
abbr zr="zellij run --"
abbr zrf="zellij run --floating --"
# Docker and Docker Compose.
abbr dk="docker"
abbr dkp="docker ps"
@ -84,10 +90,6 @@ abbr rdup="run drush updatedb -y"
abbr rpub="run publish"
abbr rt="run test"
abbr clh="curl localhost:%"
abbr clh3="curl localhost:3000%"
abbr clh8="curl localhost:8000%"
abbr -g A1="| awk '{print $1}'"
abbr -g C="| xclip -sel clip"
abbr -g Fj="| jq ."