Trying out zellij
This commit is contained in:
parent
10097802b3
commit
5fe35808d2
|
@ -28,6 +28,7 @@ in
|
||||||
./modules/ripgrep.nix
|
./modules/ripgrep.nix
|
||||||
./modules/syncthing.nix
|
./modules/syncthing.nix
|
||||||
./modules/tmux.nix
|
./modules/tmux.nix
|
||||||
|
./modules/zellij.nix
|
||||||
./modules/zsh.nix
|
./modules/zsh.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
10
lib/shared/modules/zellij.nix
Normal file
10
lib/shared/modules/zellij.nix
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
{
|
||||||
|
programs.zellij = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
xdg.configFile."zellij/config.kdl".text = ''
|
||||||
|
simplified_ui true
|
||||||
|
pane_frames false
|
||||||
|
'';
|
||||||
|
}
|
|
@ -35,6 +35,12 @@ abbr ta="tmux attach"
|
||||||
abbr tl="tmux list-sessions"
|
abbr tl="tmux list-sessions"
|
||||||
abbr tk="tmux kill-session"
|
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.
|
# Docker and Docker Compose.
|
||||||
abbr dk="docker"
|
abbr dk="docker"
|
||||||
abbr dkp="docker ps"
|
abbr dkp="docker ps"
|
||||||
|
@ -84,10 +90,6 @@ abbr rdup="run drush updatedb -y"
|
||||||
abbr rpub="run publish"
|
abbr rpub="run publish"
|
||||||
abbr rt="run test"
|
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 A1="| awk '{print $1}'"
|
||||||
abbr -g C="| xclip -sel clip"
|
abbr -g C="| xclip -sel clip"
|
||||||
abbr -g Fj="| jq ."
|
abbr -g Fj="| jq ."
|
||||||
|
|
Loading…
Reference in a new issue