mirror of
https://forge.katzen.cafe/schrottkatze/nix-configs.git
synced 2024-11-24 22:18:43 +01:00
remove zellij autostart and add keyboard shortcut for it
This commit is contained in:
parent
e603b5ecd5
commit
f07c54346b
|
@ -335,6 +335,27 @@ $env.config = {
|
||||||
]
|
]
|
||||||
|
|
||||||
keybindings: [
|
keybindings: [
|
||||||
|
################################################################################
|
||||||
|
# Custom keybinds #
|
||||||
|
################################################################################
|
||||||
|
{
|
||||||
|
name: undo_change
|
||||||
|
modifier: control
|
||||||
|
keycode: char_z
|
||||||
|
mode: [vi_normal, vi_insert]
|
||||||
|
event: [
|
||||||
|
{ edit: Clear }
|
||||||
|
{
|
||||||
|
edit: InsertString
|
||||||
|
value: "zellij attach main -c"
|
||||||
|
}
|
||||||
|
{ send: Enter }
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Default keybinds #
|
||||||
|
################################################################################
|
||||||
{
|
{
|
||||||
name: completion_menu
|
name: completion_menu
|
||||||
modifier: none
|
modifier: none
|
||||||
|
@ -810,7 +831,7 @@ def start_zellij [] {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
start_zellij
|
# start_zellij
|
||||||
|
|
||||||
# plugin add nu_plugin_net
|
# plugin add nu_plugin_net
|
||||||
# plugin add nu_plugin_gstat
|
# plugin add nu_plugin_gstat
|
||||||
|
|
Loading…
Reference in a new issue