add tmux close pane key (#2058)

* add tmux close pane key

* chore: update snapshots for new keybind

Co-authored-by: Jae-Heon Ji <atx6419@gmail.com>
This commit is contained in:
Cason Adams 2023-01-03 06:47:39 -07:00 committed by GitHub
parent 02e80860a2
commit ad21f81ac0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 43 additions and 5 deletions

View File

@ -126,6 +126,7 @@ keybinds {
bind "k" { MoveFocus "Up"; SwitchToMode "Normal"; }
bind "o" { FocusNextPane; }
bind "d" { Detach; }
bind "x" { CloseFocus; SwitchToMode "Normal"; }
}
shared_except "locked" {
bind "Ctrl g" { SwitchToMode "Locked"; }

View File

@ -130,6 +130,7 @@ keybinds {
bind "k" { MoveFocus "Up"; SwitchToMode "Normal"; }
bind "o" { FocusNextPane; }
bind "d" { Detach; }
bind "x" { CloseFocus; SwitchToMode "Normal"; }
}
shared_except "locked" {
bind "Ctrl g" { SwitchToMode "Locked"; }

View File

@ -130,6 +130,7 @@ keybinds {
bind "k" { MoveFocus "Up"; SwitchToMode "Normal"; }
bind "o" { FocusNextPane; }
bind "d" { Detach; }
bind "x" { CloseFocus; SwitchToMode "Normal"; }
}
shared_except "locked" {
bind "Ctrl g" { SwitchToMode "Locked"; }

View File

@ -1,6 +1,5 @@
---
source: zellij-utils/src/setup.rs
assertion_line: 582
expression: "format!(\"{:#?}\", config)"
---
Config {
@ -3124,6 +3123,14 @@ Config {
Normal,
),
],
Char(
'x',
): [
CloseFocus,
SwitchToMode(
Normal,
),
],
Char(
'z',
): [

View File

@ -1,6 +1,5 @@
---
source: zellij-utils/src/setup.rs
assertion_line: 640
expression: "format!(\"{:#?}\", config)"
---
Config {
@ -3124,6 +3123,14 @@ Config {
Normal,
),
],
Char(
'x',
): [
CloseFocus,
SwitchToMode(
Normal,
),
],
Char(
'z',
): [

View File

@ -1,6 +1,5 @@
---
source: zellij-utils/src/setup.rs
assertion_line: 668
expression: "format!(\"{:#?}\", config)"
---
Config {
@ -3124,6 +3123,14 @@ Config {
Normal,
),
],
Char(
'x',
): [
CloseFocus,
SwitchToMode(
Normal,
),
],
Char(
'z',
): [

View File

@ -1,6 +1,5 @@
---
source: zellij-utils/src/setup.rs
assertion_line: 682
expression: "format!(\"{:#?}\", config)"
---
Config {
@ -3124,6 +3123,14 @@ Config {
Normal,
),
],
Char(
'x',
): [
CloseFocus,
SwitchToMode(
Normal,
),
],
Char(
'z',
): [

View File

@ -1,6 +1,5 @@
---
source: zellij-utils/src/setup.rs
assertion_line: 654
expression: "format!(\"{:#?}\", config)"
---
Config {
@ -3124,6 +3123,14 @@ Config {
Normal,
),
],
Char(
'x',
): [
CloseFocus,
SwitchToMode(
Normal,
),
],
Char(
'z',
): [