remove zellij autostart and add keyboard shortcut for it
This commit is contained in:
parent
e603b5ecd5
commit
f07c54346b
1 changed files with 22 additions and 1 deletions
|
@ -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