Add and change some other key bindings
I like the idea of using CTRL+C as a default shortcut for scrolling to the end of the file and exiting the current command, so I'm adding it to all the modes.
This commit is contained in:
11
config.kdl
11
config.kdl
@@ -8,7 +8,8 @@ keybinds clear-defaults=true {
|
|||||||
bind "Alt g" { SwitchToMode "Normal"; }
|
bind "Alt g" { SwitchToMode "Normal"; }
|
||||||
}
|
}
|
||||||
resize {
|
resize {
|
||||||
bind "Ctrl n" { SwitchToMode "Normal"; }
|
bind "Alt M" { SwitchToMode "Normal"; }
|
||||||
|
bind "Ctrl c" { ScrollToBottom; SwitchToMode "Normal"; }
|
||||||
bind "Left" { Resize "Increase Left"; }
|
bind "Left" { Resize "Increase Left"; }
|
||||||
bind "Down" { Resize "Increase Down"; }
|
bind "Down" { Resize "Increase Down"; }
|
||||||
bind "Up" { Resize "Increase Up"; }
|
bind "Up" { Resize "Increase Up"; }
|
||||||
@@ -21,7 +22,8 @@ keybinds clear-defaults=true {
|
|||||||
bind "-" { Resize "Decrease"; }
|
bind "-" { Resize "Decrease"; }
|
||||||
}
|
}
|
||||||
pane {
|
pane {
|
||||||
bind "Ctrl p" { SwitchToMode "Normal"; }
|
bind "Alt p" { SwitchToMode "Normal"; }
|
||||||
|
bind "Ctrl c" { ScrollToBottom; SwitchToMode "Normal"; }
|
||||||
bind "Left" { MoveFocus "Left"; }
|
bind "Left" { MoveFocus "Left"; }
|
||||||
bind "Right" { MoveFocus "Right"; }
|
bind "Right" { MoveFocus "Right"; }
|
||||||
bind "Down" { MoveFocus "Down"; }
|
bind "Down" { MoveFocus "Down"; }
|
||||||
@@ -38,7 +40,8 @@ keybinds clear-defaults=true {
|
|||||||
bind "c" { SwitchToMode "RenamePane"; PaneNameInput 0;}
|
bind "c" { SwitchToMode "RenamePane"; PaneNameInput 0;}
|
||||||
}
|
}
|
||||||
move {
|
move {
|
||||||
bind "Ctrl h" { SwitchToMode "Normal"; }
|
bind "Alt m" { SwitchToMode "Normal"; }
|
||||||
|
bind "Ctrl c" { ScrollToBottom; SwitchToMode "Normal"; }
|
||||||
bind "n" "Tab" { MovePane; }
|
bind "n" "Tab" { MovePane; }
|
||||||
bind "p" { MovePaneBackwards; }
|
bind "p" { MovePaneBackwards; }
|
||||||
bind "Left" { MovePane "Left"; }
|
bind "Left" { MovePane "Left"; }
|
||||||
@@ -113,7 +116,7 @@ keybinds clear-defaults=true {
|
|||||||
bind "Ctrl c" { SwitchToMode "Normal"; }
|
bind "Ctrl c" { SwitchToMode "Normal"; }
|
||||||
bind "Ctrl f" { SwitchToMode "Scroll"; }
|
bind "Ctrl f" { SwitchToMode "Scroll"; }
|
||||||
bind "d" { Detach; }
|
bind "d" { Detach; }
|
||||||
bind "w" {
|
bind "s" {
|
||||||
LaunchOrFocusPlugin "session-manager" {
|
LaunchOrFocusPlugin "session-manager" {
|
||||||
floating true
|
floating true
|
||||||
move_to_focused_tab true
|
move_to_focused_tab true
|
||||||
|
|||||||
Reference in New Issue
Block a user